Skip to content

Commit

Permalink
Try to fix PHPStan complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude committed May 31, 2021
1 parent e57c3b7 commit 6e70a9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
use ReflectionClass;
use ReflectionException;

use function array_map;
use function assert;
use function class_exists;
use function count;
Expand Down
2 changes: 1 addition & 1 deletion phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ parameters:

-
message: "#^Access to an undefined property Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\:\\:\\$discriminatorMap\\.$#"
count: 2
count: 3
path: lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php

-
Expand Down

0 comments on commit 6e70a9f

Please sign in to comment.