mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Some generic code refactoring.
This commit is contained in:
@@ -251,7 +251,7 @@ class RecurrenceFormRequest extends Request
|
||||
}
|
||||
//monthly,17
|
||||
//ndom,3,7
|
||||
if (\in_array(substr($value, 0, 6), ['yearly', 'weekly'])) {
|
||||
if (in_array(substr($value, 0, 6), ['yearly', 'weekly'])) {
|
||||
$return['type'] = substr($value, 0, 6);
|
||||
$return['moment'] = substr($value, 7);
|
||||
}
|
||||
|
Reference in New Issue
Block a user