Add native type to private properties and final classes #1428
Annotations
8 errors
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php#L285
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php:285:15: RedundantPropertyInitializationCheck: Property $this->dm with type Doctrine\ODM\MongoDB\DocumentManager should already be set in the constructor (see https://psalm.dev/261)
|
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php#L646
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php:646:13: RedundantPropertyInitializationCheck: Property $this->uow with type Doctrine\ODM\MongoDB\UnitOfWork should already be set in the constructor (see https://psalm.dev/261)
|
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php#L646
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php:646:13: RedundantCondition: Type Doctrine\ODM\MongoDB\UnitOfWork for $this->uow is always isset (see https://psalm.dev/122)
|
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php#L695
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php:695:13: RedundantPropertyInitializationCheck: Property $this->uow with type Doctrine\ODM\MongoDB\UnitOfWork should already be set in the constructor (see https://psalm.dev/261)
|
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php#L695
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php:695:13: RedundantCondition: Type Doctrine\ODM\MongoDB\UnitOfWork for $this->uow is always isset (see https://psalm.dev/122)
|
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php#L726
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php:726:16: RedundantCondition: Type Doctrine\ODM\MongoDB\DocumentManager for $this->dm is never falsy (see https://psalm.dev/122)
|
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php#L726
lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php:726:32: RedundantCondition: Operand of type Doctrine\ODM\MongoDB\DocumentManager is always truthy (see https://psalm.dev/122)
|
|
This job failed
Loading