mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
Remove bad method.
This commit is contained in:
@@ -131,20 +131,4 @@ class Request extends FormRequest
|
|||||||
return round($this->input($field), 12);
|
return round($this->input($field), 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param string $field
|
|
||||||
* @param string $type
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
protected function getArray(string $field, string $type): array
|
|
||||||
{
|
|
||||||
$original = $this->get($field);
|
|
||||||
$return = [];
|
|
||||||
foreach ($original as $index => $value) {
|
|
||||||
$return[$index] = $this->$type($value);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user