Skip to content

Commit

Permalink
fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
svfcode committed May 10, 2024
1 parent 898ec73 commit 86bae6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/Variables.php
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ public function replaceVars($_key)
$var_first_declaration = $this->tokens->searchForward(0, (string)$this->tokens->current->value); // 10

if ( ! $var_first_declaration ) {
return false;
return;
}

$var_expression = $this->tokens->getRange(
Expand Down Expand Up @@ -501,7 +501,7 @@ public function replaceArrayVars($_key)
$var_first_declaration = $this->tokens->searchForward(0, (string)$this->tokens->current->value); // 10

if ( ! $var_first_declaration ) {
return false;
return;
}

$var_expression = $this->tokens->getRange(
Expand Down

0 comments on commit 86bae6a

Please sign in to comment.