Skip to content

Commit a3d13c2

Browse files
committed
Releasing 1.1.24
2 parents ad717c9 + 1ddbbae commit a3d13c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TgUtils/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ public function toUnix() {
415415
}
416416

417417
/** create a local instance from given format */
418-
public static function createFromFormat($format, $timeString, $timezone = null) {
418+
public static function createFromFormat($format, $timeString, $timezone = null): \DateTime|FALSE {
419419
if ($timezone == null) {
420420
$timezone = new \DateTimeZone(date_default_timezone_get());
421421
}

0 commit comments

Comments
 (0)