Remove bad method.

This commit is contained in:
James Cole
2018-02-23 15:13:09 +01:00
parent 269433bf00
commit ce56cc538d

View File

@@ -131,20 +131,4 @@ class Request extends FormRequest
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;
}
}