Skip to content

Commit f66e9e4

Browse files
committed
Hide PHPStan issue with $collections type
1 parent b0909ca commit f66e9e4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

phpstan-baseline.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,6 +1578,12 @@ parameters:
15781578
count: 1
15791579
path: tests/Doctrine/ODM/MongoDB/Tests/DocumentRepositoryTest.php
15801580

1581+
-
1582+
message: '#^Parameter \#2 \$collections of method Doctrine\\ODM\\MongoDB\\Persisters\\CollectionPersister\:\:delete\(\) expects array\<Doctrine\\ODM\\MongoDB\\PersistentCollection\\PersistentCollectionInterface\>, array\<int, array\<Doctrine\\ODM\\MongoDB\\Tests\\Functional\\CollectionPersisterCategory\>\|Doctrine\\Common\\Collections\\Collection\<int, Doctrine\\ODM\\MongoDB\\Tests\\Functional\\CollectionPersisterCategory\>\> given\.$#'
1583+
identifier: argument.type
1584+
count: 3
1585+
path: tests/Doctrine/ODM/MongoDB/Tests/Functional/CollectionPersisterTest.php
1586+
15811587
-
15821588
message: '#^Property Doctrine\\ODM\\MongoDB\\Tests\\Functional\\CustomDatabaseTest\:\:\$id is unused\.$#'
15831589
identifier: property.unused

0 commit comments

Comments
 (0)