mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-22 19:21:23 +00:00
Fix code quality with rector [skip ci]
This commit is contained in:
@@ -65,11 +65,7 @@ class ParseDateString
|
||||
return false;
|
||||
}
|
||||
// no x'es
|
||||
if (!str_contains($date, 'xx') && !str_contains($date, 'xxxx')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return !(!str_contains($date, 'xx') && !str_contains($date, 'xxxx'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user