Skip to content

Commit

Permalink
Merge pull request #583 from niconoe-/fix/typehint-select-expr
Browse files Browse the repository at this point in the history
Fix tyephint on `SelectStatement::$expr`
  • Loading branch information
MauricioFauth authored Sep 19, 2024
2 parents 86315f7 + 3975930 commit f46b2c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Statements/SelectStatement.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace PhpMyAdmin\SqlParser\Statements;

use PhpMyAdmin\SqlParser\Components\ArrayObj;
use PhpMyAdmin\SqlParser\Components\CaseExpression;
use PhpMyAdmin\SqlParser\Components\Condition;
use PhpMyAdmin\SqlParser\Components\Expression;
use PhpMyAdmin\SqlParser\Components\FunctionCall;
Expand Down Expand Up @@ -234,7 +235,7 @@ class SelectStatement extends Statement
/**
* Expressions that are being selected by this statement.
*
* @var Expression[]
* @var (CaseExpression|Expression)[]
*/
public $expr = [];

Expand Down

0 comments on commit f46b2c8

Please sign in to comment.