Skip to content

Commit

Permalink
Add slash
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Feb 15, 2021
1 parent e60c333 commit bfe8bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/PhpVisitor/PartialParserVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function enterNode(PhpParser\Node $node, &$traverseChildren = true)
// Because we insert the extra colon we have to keep track of the places
// we inserted it, and then shift the file offsets accordingly after
// parsing has been done
$hacky_class_fix = preg_replace_callback(
$hacky_class_fix = \preg_replace_callback(
'/(->|::)(\n\s*if\s*\()/',
function (array $match) use (&$extra_characters) {
/**
Expand Down

0 comments on commit bfe8bf5

Please sign in to comment.