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 14211421 <code >has</code >
14221422 </PossiblyNullReference >
14231423 <RedundantCondition >
1424- <code ><![CDATA[ empty( $ret['select_tables']) ]]> </code >
1424+ <code ><![CDATA[ $ret['select_tables'] === [] ]]> </code >
14251425 </RedundantCondition >
14261426 </file >
14271427 <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)
528528 // If no tables names were found in the SELECT clause or if there
529529 // are expressions like * or COUNT(*), etc. tables names should be
530530 // extracted from the FROM clause.
531- if (empty ( $ ret ['select_tables ' ]) ) {
531+ if ($ ret ['select_tables ' ] === [] ) {
532532 foreach ($ statement ->from as $ expr ) {
533533 if (! isset ($ expr ->table ) || ($ expr ->table === '' )) {
534534 continue ;
You can’t perform that action at this time.
0 commit comments