diff --git a/src/Libs/Request.php b/src/Libs/Request.php index 4a33e7b..4d2e53d 100644 --- a/src/Libs/Request.php +++ b/src/Libs/Request.php @@ -97,7 +97,7 @@ class Request extends Neuron { * * @return array */ - public static function rules(): array { + public function rules(): array { return []; } @@ -106,7 +106,7 @@ class Request extends Neuron { * * @return array */ - public static function paramRules(): array { + public function paramRules(): array { return []; } @@ -115,7 +115,7 @@ class Request extends Neuron { * * @return array */ - public static function getRules(): array { + public function getRules(): array { return []; } @@ -124,7 +124,7 @@ class Request extends Neuron { * * @return array */ - public static function messages(): array { + public function messages(): array { return []; } @@ -135,7 +135,7 @@ class Request extends Neuron { * * @return false */ - protected function onInvalid(string $error): false + public function onInvalid(string $error): false { http_response_code(422); print($error);