Skip to content
Permalink
Browse files

Add slash

  • Loading branch information...
muglug committed Aug 18, 2019
1 parent b098b4e commit 1e400c5e1dc2afdea60c654a31b7b0a438f4f706
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Psalm/Internal/Analyzer/StatementsAnalyzer.php
@@ -274,7 +274,7 @@ public function analyze(
$comments = $this->parsed_docblock;
if (isset($comments['specials']['psalm-scope-this'])) {
$trimmed = trim(reset($comments['specials']['psalm-scope-this']));
$trimmed = trim(\reset($comments['specials']['psalm-scope-this']));
$this_type = Type::parseString($trimmed);
$context->self = $trimmed;
$context->vars_in_scope['$this'] = $this_type;

0 comments on commit 1e400c5

Please sign in to comment.
You can’t perform that action at this time.