Skip to content

Firefly III: a personal finances manager

Fix #3047

James Cole16a6ee577da5
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
*