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 625a81d commit df57006Copy full SHA for df57006
src/Support/Date.php
@@ -21,7 +21,7 @@ public function format(string $format): string
21
/**
22
* createFromFormat
23
*/
24
- public static function createFromFormat($format, $time, $timezone = null): ?DateBase
+ public static function createFromFormat($format, $time, $timezone = null): ?static
25
{
26
if (is_string($time)) {
27
$time = static::translateTimeString($time, static::getLocale(), 'en');
0 commit comments