mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various code cleanup.
This commit is contained in:
@@ -46,7 +46,6 @@ class IsValidAccountType implements ValidationRule
|
||||
$filtered = [];
|
||||
$keys = array_keys($this->types);
|
||||
|
||||
/** @var mixed $entry */
|
||||
foreach ($value as $entry) {
|
||||
$entry = (string) $entry;
|
||||
if (!in_array($entry, $keys, true)) {
|
||||
|
Reference in New Issue
Block a user