We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2c34bc commit 8fa937aCopy full SHA for 8fa937a
1 file changed
src/Laravel/ValidatesOpenApiSchema.php
@@ -20,12 +20,12 @@ trait ValidatesOpenApiSchema
20
{
21
use OpenApiSpecResolver;
22
private static ?OpenApiResponseValidator $cachedValidator = null;
23
- private static int $cachedMaxErrors = -1;
+ private static ?int $cachedMaxErrors = null;
24
25
public static function resetValidatorCache(): void
26
27
self::$cachedValidator = null;
28
- self::$cachedMaxErrors = -1;
+ self::$cachedMaxErrors = null;
29
}
30
31
protected function openApiSpec(): string
0 commit comments