Skip to content

Commit acca013

Browse files
committed
remove timezone parameter specific if
1 parent b2ba19c commit acca013

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/SapDateTime.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ public static function createFromFormat(
8787
if ($format === static::SAP_WEEK) {
8888
return static::createFromSapWeek($time, $timezone);
8989
}
90-
if ($timezone === null) {
91-
return parent::createFromFormat($format, $time);
92-
}
93-
//@codeCoverageIgnoreStart
9490
return parent::createFromFormat($format, $time, $timezone);
95-
//@codeCoverageIgnoreEnd
9691
}
9792
}

0 commit comments

Comments
 (0)