Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Oct 7, 2020
1 parent 02e18c0 commit 21a6f34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Psalm/Internal/Clause.php
Expand Up @@ -159,11 +159,11 @@ function ($value) use ($var_id): string {

if ($value[0] === '!') {
$negate = true;
$value = substr($value, 1);
$value = \substr($value, 1);
}

if ($value[0] === '=') {
$value = substr($value, 1);
$value = \substr($value, 1);
}

if ($negate) {
Expand All @@ -189,7 +189,7 @@ function ($value) use ($var_id): string {
return '(' . implode(') || (', $clause_strings) . ')';
}

return reset($clause_strings);
return \reset($clause_strings);
}

public function makeUnique() : self
Expand Down

0 comments on commit 21a6f34

Please sign in to comment.