mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 06:01:21 +00:00
Some generic code refactoring.
This commit is contained in:
@@ -59,7 +59,7 @@ class ValidRecurrenceRepetitionType implements Rule
|
||||
}
|
||||
//monthly,17
|
||||
//ndom,3,7
|
||||
if (\in_array(substr($value, 0, 6), ['yearly', 'weekly'])) {
|
||||
if (in_array(substr($value, 0, 6), ['yearly', 'weekly'])) {
|
||||
return true;
|
||||
}
|
||||
if (0 === strpos($value, 'monthly')) {
|
||||
|
||||
Reference in New Issue
Block a user