We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da20df0 commit befc60dCopy full SHA for befc60d
src/TgUtils/Date.php
@@ -415,7 +415,7 @@ public function toUnix() {
415
}
416
417
/** create a local instance from given format */
418
- public static function createFromFormat($format, $timeString, $timezone = null):\DateTime|false {
+ public static function createFromFormat($format, $timeString, $timezone = null):\DateTime|bool {
419
if ($timezone == null) {
420
$timezone = new \DateTimeZone(date_default_timezone_get());
421
0 commit comments