Ran phpcbf over code
This commit is contained in:
@ -888,11 +888,10 @@ final class NodaTimeSplitter {
|
||||
|
||||
$datum = self::clean_input($datum);
|
||||
|
||||
|
||||
// TODO: Check if this is duplicate
|
||||
|
||||
// 17. Jahrhundert
|
||||
if (\preg_match("/^[0-9]{2}(\.|)" . self::REGEX_CENTURIES ."$/", $datum)) {
|
||||
if (\preg_match("/^[0-9]{2}(\.|)" . self::REGEX_CENTURIES . "$/", $datum)) {
|
||||
if ($centuryNo = \intval(\substr($datum, 0, 2))) {
|
||||
$centuryNo--;
|
||||
return new NodaSplitTime((string)$centuryNo . "01", \strval($centuryNo + 1) . "00");
|
||||
|
Reference in New Issue
Block a user