From 5f2881d1143d7565509eb124ae4c7e4565a49cc2 Mon Sep 17 00:00:00 2001 From: Henrik Karlstrom Date: Mon, 24 Apr 2023 16:04:27 +0300 Subject: [PATCH] typo fix --- src/OpenApiValidation.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/OpenApiValidation.php b/src/OpenApiValidation.php index bdfebae..4ec6c03 100644 --- a/src/OpenApiValidation.php +++ b/src/OpenApiValidation.php @@ -87,10 +87,6 @@ public function __construct($schema, array $options = []) // Password validator only checks that it's a string, as format=password only is a hint to the UI $this->formatResolver->register("string", "password", new OpenApiValidation\Formats\PasswordValidator()); - - - // Register our prime number format - $formats->registerCallable("integer", "prime", $isPrime); }