Fix offset in Backends and QueryHandlers #123
Annotations
10 errors and 3 warnings
InvalidReturnType:
lib/Collection/QueryType/Handler/BlockHandler.php#L57
lib/Collection/QueryType/Handler/BlockHandler.php:57:16: InvalidReturnType: The declared return type 'iterable<mixed, BitBag\SyliusCmsPlugin\Entity\BlockInterface>' for Netgen\Layouts\Sylius\BitBag\Collection\QueryType\Handler\BlockHandler::getValues is incorrect, got 'array<array-key, mixed>' (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Collection/QueryType/Handler/BlockHandler.php#L77
lib/Collection/QueryType/Handler/BlockHandler.php:77:16: InvalidReturnStatement: The inferred type 'array<array-key, mixed>' does not match the declared return type 'iterable<mixed, BitBag\SyliusCmsPlugin\Entity\BlockInterface>' for Netgen\Layouts\Sylius\BitBag\Collection\QueryType\Handler\BlockHandler::getValues (see https://psalm.dev/128)
|
InvalidReturnType:
lib/Collection/QueryType/Handler/FrequentlyAskedQuestionHandler.php#L48
lib/Collection/QueryType/Handler/FrequentlyAskedQuestionHandler.php:48:16: InvalidReturnType: The declared return type 'iterable<mixed, BitBag\SyliusCmsPlugin\Entity\FrequentlyAskedQuestionInterface>' for Netgen\Layouts\Sylius\BitBag\Collection\QueryType\Handler\FrequentlyAskedQuestionHandler::getValues is incorrect, got 'array<array-key, mixed>' (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Collection/QueryType/Handler/FrequentlyAskedQuestionHandler.php#L63
lib/Collection/QueryType/Handler/FrequentlyAskedQuestionHandler.php:63:16: InvalidReturnStatement: The inferred type 'array<array-key, mixed>' does not match the declared return type 'iterable<mixed, BitBag\SyliusCmsPlugin\Entity\FrequentlyAskedQuestionInterface>' for Netgen\Layouts\Sylius\BitBag\Collection\QueryType\Handler\FrequentlyAskedQuestionHandler::getValues (see https://psalm.dev/128)
|
InvalidReturnType:
lib/Collection/QueryType/Handler/MediaHandler.php#L54
lib/Collection/QueryType/Handler/MediaHandler.php:54:16: InvalidReturnType: The declared return type 'iterable<mixed, BitBag\SyliusCmsPlugin\Entity\MediaInterface>' for Netgen\Layouts\Sylius\BitBag\Collection\QueryType\Handler\MediaHandler::getValues is incorrect, got 'array<array-key, mixed>' (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Collection/QueryType/Handler/MediaHandler.php#L73
lib/Collection/QueryType/Handler/MediaHandler.php:73:16: InvalidReturnStatement: The inferred type 'array<array-key, mixed>' does not match the declared return type 'iterable<mixed, BitBag\SyliusCmsPlugin\Entity\MediaInterface>' for Netgen\Layouts\Sylius\BitBag\Collection\QueryType\Handler\MediaHandler::getValues (see https://psalm.dev/128)
|
InvalidReturnType:
lib/Collection/QueryType/Handler/PageHandler.php#L57
lib/Collection/QueryType/Handler/PageHandler.php:57:16: InvalidReturnType: The declared return type 'iterable<mixed, BitBag\SyliusCmsPlugin\Entity\PageInterface>' for Netgen\Layouts\Sylius\BitBag\Collection\QueryType\Handler\PageHandler::getValues is incorrect, got 'array<array-key, mixed>' (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Collection/QueryType/Handler/PageHandler.php#L76
lib/Collection/QueryType/Handler/PageHandler.php:76:16: InvalidReturnStatement: The inferred type 'array<array-key, mixed>' does not match the declared return type 'iterable<mixed, BitBag\SyliusCmsPlugin\Entity\PageInterface>' for Netgen\Layouts\Sylius\BitBag\Collection\QueryType\Handler\PageHandler::getValues (see https://psalm.dev/128)
|
InvalidReturnType:
lib/Collection/QueryType/Handler/SectionHandler.php#L41
lib/Collection/QueryType/Handler/SectionHandler.php:41:16: InvalidReturnType: The declared return type 'iterable<mixed, BitBag\SyliusCmsPlugin\Entity\SectionInterface>' for Netgen\Layouts\Sylius\BitBag\Collection\QueryType\Handler\SectionHandler::getValues is incorrect, got 'array<array-key, mixed>' (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/Collection/QueryType/Handler/SectionHandler.php#L54
lib/Collection/QueryType/Handler/SectionHandler.php:54:16: InvalidReturnStatement: The inferred type 'array<array-key, mixed>' does not match the declared return type 'iterable<mixed, BitBag\SyliusCmsPlugin\Entity\SectionInterface>' for Netgen\Layouts\Sylius\BitBag\Collection\QueryType\Handler\SectionHandler::getValues (see https://psalm.dev/128)
|
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phpstan-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|