mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 06:01:21 +00:00
Use PSR-12 code style
This commit is contained in:
@@ -95,7 +95,6 @@ class ParseDateString
|
||||
|
||||
// if + or -:
|
||||
if (str_starts_with($date, '+') || str_starts_with($date, '-')) {
|
||||
|
||||
return $this->parseRelativeDate($date);
|
||||
}
|
||||
if ('xxxx-xx-xx' === strtolower($date)) {
|
||||
@@ -204,7 +203,6 @@ class ParseDateString
|
||||
Log::debug(sprintf('Will now do %s(%d) on %s', $func, $number, $today->format('Y-m-d')));
|
||||
$today->$func($number);
|
||||
Log::debug(sprintf('Resulting date is %s', $today->format('Y-m-d')));
|
||||
|
||||
}
|
||||
|
||||
return $today;
|
||||
@@ -464,5 +462,4 @@ class ParseDateString
|
||||
'month' => $parts[1],
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user