diff --git a/app/Http/Requests/Request.php b/app/Http/Requests/Request.php index cfd3239a68..805246e792 100644 --- a/app/Http/Requests/Request.php +++ b/app/Http/Requests/Request.php @@ -56,25 +56,6 @@ class Request extends FormRequest return null; } - /** - * Return a boolean value. - * - * @param string $field - * - * @return bool - */ - public function boolean(string $field): bool - { - if ('true' === (string)$this->input($field)) { - return true; - } - if ('false' === (string)$this->input($field)) { - return false; - } - - return 1 === (int)$this->input($field); - } - /** * @param string $value *