Skip to content

Commit

Permalink
#2407 - Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Oct 29, 2023
1 parent 16517c8 commit 3cf6439
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Library/Passes/LocalContextPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ public function declareVariables(array $statement): void

foreach ($statement['variables'] as $variable) {
if (isset($variable['expr'])) {
if (
'string' === $variable['expr']['type']
if ('string' === $variable['expr']['type']
|| 'empty-array' === $variable['expr']['type']
|| 'array' === $variable['expr']['type']
) {
Expand Down

0 comments on commit 3cf6439

Please sign in to comment.