Skip to content

Commit f6d4c47

Browse files
committed
Fix SA errors
1 parent aa6232a commit f6d4c47

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2952,12 +2952,6 @@ parameters:
29522952
count: 1
29532953
path: src/Persisters/Entity/BasicEntityPersister.php
29542954

2955-
-
2956-
message: '#^Strict comparison using \=\=\= between string and null will always evaluate to false\.$#'
2957-
identifier: identical.alwaysFalse
2958-
count: 1
2959-
path: src/Persisters/Entity/BasicEntityPersister.php
2960-
29612955
-
29622956
message: '#^Method Doctrine\\ORM\\Persisters\\Entity\\CachedPersisterContext\:\:__construct\(\) has parameter \$class with generic interface Doctrine\\Persistence\\Mapping\\ClassMetadata but does not specify its types\: T$#'
29632957
identifier: missingType.generics

src/Persisters/Entity/BasicEntityPersister.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
use function array_keys;
4141
use function array_map;
4242
use function array_merge;
43-
use function array_search;
4443
use function array_unique;
4544
use function array_values;
4645
use function assert;

src/Persisters/Entity/EntityPersister.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function getCountSQL($criteria = []);
7373
/**
7474
* Expands the parameters from the given criteria and use the correct binding types if found.
7575
*
76-
* @param string[] $criteria
76+
* @param array<string, mixed> $criteria
7777
*
7878
* @phpstan-return array{list<mixed>, list<int|string|null>}
7979
*/

0 commit comments

Comments
 (0)