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.
2 parents 8f9d029 + fe8dd49 commit cd4e1efCopy full SHA for cd4e1ef
phpunit.xml.dist
@@ -11,4 +11,9 @@
11
<directory suffix=".php">src/</directory>
12
</whitelist>
13
</filter>
14
+
15
+ <php>
16
+ <!-- E_ALL (32767) -->
17
+ <ini name="error_reporting" value="32767"/>
18
+ </php>
19
</phpunit>
src/Traits/FactoryTrait.php
@@ -336,6 +336,7 @@ public static function createFromArray(array $values): ChronosInterface
336
* @param \DateTimeZone|string|null $tz The DateTimeZone object or timezone name the new instance should use.
337
* @return static
338
*/
339
+ #[\ReturnTypeWillChange]
340
public static function createFromTimestamp(float|int $timestamp, $tz = null): ChronosInterface
341
{
342
$instance = static::now($tz)->setTimestamp($timestamp);
0 commit comments