Skip to content

Commit 01250e4

Browse files
authored
Merge 1.x into 2.x
2 parents d074bda + 0e5091b commit 01250e4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Collection/AuditedCollection.php

+1
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ public function containsKey($key)
161161
*
162162
* @return object
163163
*
164+
* @phpstan-param TKey $key
164165
* @phpstan-return T
165166
*/
166167
#[\ReturnTypeWillChange]

src/Metadata/MetadataFactory.php

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class MetadataFactory
2828
public function __construct(array $auditedEntities)
2929
{
3030
// NEXT_MAJOR: Remove array_filter call.
31+
// @phpstan-ignore-next-line
3132
$this->auditedEntities = array_flip(array_filter($auditedEntities));
3233
}
3334

0 commit comments

Comments
 (0)