Skip to content

Commit

Permalink
Fixed phpstan wanring about usage of static
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddanbrown committed Aug 29, 2022
1 parent 6edf2c1 commit 961e418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/References/CrossLinkParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function linkToModel(string $link): ?Model
*/
public static function createWithEntityResolvers(): self
{
return new static([
return new self([
new PagePermalinkModelResolver(),
new PageLinkModelResolver(),
new ChapterLinkModelResolver(),
Expand Down

0 comments on commit 961e418

Please sign in to comment.