File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1421
1421
<code >has</code >
1422
1422
</PossiblyNullReference >
1423
1423
<RedundantCondition >
1424
- <code ><![CDATA[ empty( $ret['select_tables']) ]]> </code >
1424
+ <code ><![CDATA[ $ret['select_tables'] === [] ]]> </code >
1425
1425
</RedundantCondition >
1426
1426
</file >
1427
1427
<file src =" src/Utils/Routine.php" >
Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ public static function getAll($query)
528
528
// If no tables names were found in the SELECT clause or if there
529
529
// are expressions like * or COUNT(*), etc. tables names should be
530
530
// extracted from the FROM clause.
531
- if (empty ( $ ret ['select_tables ' ]) ) {
531
+ if ($ ret ['select_tables ' ] === [] ) {
532
532
foreach ($ statement ->from as $ expr ) {
533
533
if (! isset ($ expr ->table ) || ($ expr ->table === '' )) {
534
534
continue ;
You can’t perform that action at this time.
0 commit comments