fix: add OpenAPI fields #1261
Annotations
11 errors
|
PHPStan:
src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L181
Only booleans are allowed in an if condition, string given.
|
PHPStan:
src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L204
Call to function in_array() requires parameter #3 to be set.
|
PHPStan:
src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L204
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::isRef() should return string but returns bool.
|
PHPStan:
src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L358
Variable $value in PHPDoc tag @var does not exist.
|
PHPStan:
src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L364
Call to function in_array() requires parameter #3 to be set.
|
PHPStan:
src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L393
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getSchemaProperty() return type has no value type specified in iterable type array.
|
PHPStan:
src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L406
Only booleans are allowed in &&, string given on the left side.
|
PHPStan:
src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L413
Call to function in_array() requires parameter #3 to be set.
|
PHPStan:
src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L439
Call to function in_array() requires parameter #3 to be set.
|
PHPStan:
src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L469
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getTags() should return array<string> but returns array<int<0, max>, array<string, string>>.
|
Loading