fix tests, add a check on api_type parameter #122
Annotations
10 errors
phpstan-8:
src/Builder/Capacity/All.php#L89
Method Kiboko\Plugin\Sylius\Builder\Capacity\All::compileSearch() return type has no value type specified in iterable type array.
|
phpstan-8:
src/Builder/Capacity/ListPerPage.php#L89
Method Kiboko\Plugin\Sylius\Builder\Capacity\ListPerPage::compileSearch() return type has no value type specified in iterable type array.
|
phpstan-8:
src/Builder/Client.php#L138
Match expression does not handle remaining value: string
|
phpstan-8:
src/Builder/Client.php#L168
Method Kiboko\Plugin\Sylius\Builder\Client::getFactoryArguments() return type has no value type specified in iterable type array.
|
phpstan-8:
src/Builder/Extractor.php#L77
Parameter $stmts of class PhpParser\Node\Stmt\TryCatch constructor expects array<PhpParser\Node\Stmt>, array<int, PhpParser\Node> given.
|
phpstan-8:
src/Builder/Extractor.php#L128
Parameter $value of class PhpParser\Node\Arg constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
phpstan-8:
src/Builder/Extractor.php#L134
Method Kiboko\Plugin\Sylius\Builder\Extractor::getParamsNode() return type has no value type specified in iterable type array.
|
phpstan-8:
src/Builder/Extractor.php#L137
Match expression does not handle remaining value: string
|
phpstan-8:
src/Builder/Loader.php#L77
Parameter $stmts of class PhpParser\Node\Stmt\TryCatch constructor expects array<PhpParser\Node\Stmt>, array<int, PhpParser\Node> given.
|
phpstan-8:
src/Builder/Loader.php#L134
Parameter $value of class PhpParser\Node\Arg constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|