Skip to content

Commit

Permalink
Namespace functions
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Jun 29, 2019
1 parent f5459e2 commit fc549a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Psalm/Internal/Visitor/PartialParserVisitor.php
Expand Up @@ -329,7 +329,7 @@ public function mustRescan() : bool

private function balanceBrackets(string $fake_class) : string
{
$tokens = token_get_all($fake_class);
$tokens = \token_get_all($fake_class);

$brace_count = 0;

Expand All @@ -342,7 +342,7 @@ private function balanceBrackets(string $fake_class) : string
}

if ($brace_count > 0) {
$fake_class .= str_repeat('}', $brace_count);
$fake_class .= \str_repeat('}', $brace_count);
}

return $fake_class;
Expand Down

0 comments on commit fc549a4

Please sign in to comment.