throw exception in case an operation is not active #1000
Annotations
5 errors
Run Psalm:
src/Provider/Generator/OpenAPI.php#L194
src/Provider/Generator/OpenAPI.php:194:45: PossiblyUndefinedMethod: Method PSX\Schema\ContentType::toArray does not exist (see https://psalm.dev/108)
|
Run Psalm:
src/Provider/Generator/OpenAPI.php#L221
src/Provider/Generator/OpenAPI.php:221:34: PossiblyInvalidArgument: Argument 1 of Fusio\Impl\Provider\Generator\OpenAPI::getRef expects PSX\Schema\TypeInterface, but possibly different type PSX\Schema\ContentType|PSX\Schema\TypeInterface provided (see https://psalm.dev/092)
|
Run Psalm:
src/Provider/Generator/OpenAPI.php#L229
src/Provider/Generator/OpenAPI.php:229:30: PossiblyInvalidArgument: Argument 1 of Fusio\Impl\Provider\Generator\OpenAPI::getRef expects PSX\Schema\TypeInterface, but possibly different type PSX\Schema\ContentType|PSX\Schema\TypeInterface provided (see https://psalm.dev/092)
|
Run Psalm:
src/Provider/Generator/OpenAPI.php#L241
src/Provider/Generator/OpenAPI.php:241:47: PossiblyInvalidArgument: Argument 1 of Fusio\Impl\Provider\Generator\OpenAPI::getRef expects PSX\Schema\TypeInterface, but possibly different type PSX\Schema\ContentType|PSX\Schema\TypeInterface provided (see https://psalm.dev/092)
|
Run Psalm
Process completed with exit code 2.
|
Loading