Fix bazinga usage #8200
Annotations
5 errors
Run PHPStan analysis:
code_samples/search/elasticsearch/src/Query/Criterion/Elasticsearch/CameraManufacturerVisitor.php#L13
Parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion) of method App\Query\Criterion\Elasticsearch\CameraManufacturerVisitor::supports() is not contravariant with parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface) of method Ibexa\Contracts\Elasticsearch\Query\CriterionVisitor::supports().
|
Run PHPStan analysis:
code_samples/search/elasticsearch/src/Query/Criterion/Elasticsearch/CameraManufacturerVisitor.php#L18
Parameter #2 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion) of method App\Query\Criterion\Elasticsearch\CameraManufacturerVisitor::visit() is not contravariant with parameter #2 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface) of method Ibexa\Contracts\Elasticsearch\Query\CriterionVisitor::visit().
|
Run PHPStan analysis:
code_samples/search/solr/src/Query/Criterion/Solr/CameraManufacturerVisitor.php#L12
Parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion) of method App\Query\Criterion\Solr\CameraManufacturerVisitor::canVisit() is not contravariant with parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface) of method Ibexa\Contracts\Solr\Query\CriterionVisitor::canVisit().
|
Run PHPStan analysis:
code_samples/search/solr/src/Query/Criterion/Solr/CameraManufacturerVisitor.php#L17
Parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion) of method App\Query\Criterion\Solr\CameraManufacturerVisitor::visit() is not contravariant with parameter #1 $criterion (Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface) of method Ibexa\Contracts\Solr\Query\CriterionVisitor::visit().
|
Run PHPStan analysis
Process completed with exit code 1.
|
Loading