Skip to content

Commit

Permalink
Ignore PHPStan quirk
Browse files Browse the repository at this point in the history
  • Loading branch information
sprain committed Apr 15, 2023
1 parent feb34d2 commit 008dbf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/SaferpayJson/Request/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ private function getContent(): string
private function getSerializer(): SerializerInterface
{
// Support for doctrine/annotations 1.x
// @phpstan-ignore-next-line
if (method_exists(AnnotationRegistry::class, 'registerLoader')) {
AnnotationRegistry::registerLoader('class_exists');
}
Expand Down

0 comments on commit 008dbf3

Please sign in to comment.