Skip to content

Commit 3975930

Browse files
committed
Fix tyephint on SelectStatement::$expr.
1 parent 91d980a commit 3975930

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Statements/SelectStatement.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace PhpMyAdmin\SqlParser\Statements;
66

77
use PhpMyAdmin\SqlParser\Components\ArrayObj;
8+
use PhpMyAdmin\SqlParser\Components\CaseExpression;
89
use PhpMyAdmin\SqlParser\Components\Condition;
910
use PhpMyAdmin\SqlParser\Components\Expression;
1011
use PhpMyAdmin\SqlParser\Components\FunctionCall;
@@ -234,7 +235,7 @@ class SelectStatement extends Statement
234235
/**
235236
* Expressions that are being selected by this statement.
236237
*
237-
* @var Expression[]
238+
* @var (CaseExpression|Expression)[]
238239
*/
239240
public $expr = [];
240241

0 commit comments

Comments
 (0)