Skip to content

Update ServiceRepositoryTrait with missing ManagerRegistry param #273

Update ServiceRepositoryTrait with missing ManagerRegistry param

Update ServiceRepositoryTrait with missing ManagerRegistry param #273

Re-run triggered October 24, 2023 13:18
Status Failure
Total duration 1m 3s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis with Psalm
Fit to window
Zoom out
Zoom in

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.