Fixed phpstan wanring about usage of static

This commit is contained in:
Dan Brown 2022-08-29 17:39:50 +01:00
parent 6edf2c155d
commit 961e418cb7
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -91,7 +91,7 @@ class CrossLinkParser
*/
public static function createWithEntityResolvers(): self
{
return new static([
return new self([
new PagePermalinkModelResolver(),
new PageLinkModelResolver(),
new ChapterLinkModelResolver(),