Update ServiceRepositoryTrait with missing ManagerRegistry param #273
static-analysis.yml
on: pull_request
Matrix: Static Analysis with Psalm
Annotations
3 errors
InvalidNullableReturnType:
Command/TailCursorDoctrineODMCommand.php#L111
Command/TailCursorDoctrineODMCommand.php:111:17: InvalidNullableReturnType: The declared return type 'Psr\Container\ContainerInterface' for Doctrine\Bundle\MongoDBBundle\Command\TailCursorDoctrineODMCommand::getContainer is not nullable, but 'Symfony\Component\DependencyInjection\ContainerInterface|null' contains null (see https://psalm.dev/144)
|
NullableReturnStatement:
Command/TailCursorDoctrineODMCommand.php#L114
Command/TailCursorDoctrineODMCommand.php:114:16: NullableReturnStatement: The declared return type 'Psr\Container\ContainerInterface' for Doctrine\Bundle\MongoDBBundle\Command\TailCursorDoctrineODMCommand::getContainer is not nullable, but the function returns 'Symfony\Component\DependencyInjection\ContainerInterface|null' (see https://psalm.dev/139)
|
Static Analysis with Psalm (8.1)
Process completed with exit code 2.
|