Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After fixing the psalm errors and an update of phpstan, we have now phpstan errors. This fixes the following errors: ------ --------------------------------------------------------------------------------------------------------------------------------------------------- Line State/ContentNode/ContentNodePersistProcessor.php ------ --------------------------------------------------------------------------------------------------------------------------------------------------- 24 Access to an undefined property App\Entity\BaseEntity::$parent. 💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property 25 Access to an undefined property App\Entity\BaseEntity::$parent. 💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property 28 Method App\State\ContentNode\ContentNodePersistProcessor::onBefore() should return T of App\Entity\ContentNode but returns App\Entity\BaseEntity. ------ --------------------------------------------------------------------------------------------------------------------------------------------------- ------ ------------------------------------------------------------------------------------- Line State/Util/AbstractPersistProcessor.php ------ ------------------------------------------------------------------------------------- 72 PHPDoc tag @return with type T is not subtype of native type App\Entity\BaseEntity. 💡 Write @template T of App\Entity\BaseEntity to fix this. ------ -------------------------------------------------------------------------------------
- Loading branch information