Quality assurance #1693
Annotations
4 errors
PHPStan:
src/Collection/AuditedCollection.php#L305
Method SimpleThings\EntityAudit\Collection\AuditedCollection::filter() should return Doctrine\Common\Collections\Collection<TKey of (int|string), T of object> but returns Doctrine\Common\Collections\ReadableCollection<TKey of (int|string), T of object>.
|
PHPStan:
src/Collection/AuditedCollection.php#L333
Method SimpleThings\EntityAudit\Collection\AuditedCollection::map() should return Doctrine\Common\Collections\Collection<TKey of (int|string), U> but returns Doctrine\Common\Collections\ReadableCollection<TKey of (int|string), U>.
|
PHPStan:
src/Collection/AuditedCollection.php#L347
Method SimpleThings\EntityAudit\Collection\AuditedCollection::partition() should return array{Doctrine\Common\Collections\Collection<TKey of (int|string), T of object>, Doctrine\Common\Collections\Collection<TKey of (int|string), T of object>} but returns array{Doctrine\Common\Collections\ReadableCollection<TKey of (int|string), T of object>, Doctrine\Common\Collections\ReadableCollection<TKey of (int|string), T of object>}.
|
PHPStan
Process completed with exit code 1.
|