Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Nov 12, 2024
1 parent 5763b5b commit d0e946c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/DocBlock/Tags/Factory/AbstractPHPStanFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public function __construct(PHPStanFactory ...$factories)
true
);
}

$this->factories = $factories;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/DocBlock/Tags/Factory/TagFactoryTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function parseTag(string $tag): PhpDocTagNode
$phpDocParser = new PhpDocParser(new TypeParser($constParser), $constParser);
}

$tagNode = ($phpDocParser)->parseTag(new TokenIterator($lexer->tokenize($tag)));
$tagNode = $phpDocParser->parseTag(new TokenIterator($lexer->tokenize($tag)));
if (property_exists($tagNode->value, 'description') === true) {
$tagNode->value->setAttribute('description', $tagNode->value->description);
}
Expand Down

0 comments on commit d0e946c

Please sign in to comment.