We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7559dbf commit fe8dd49Copy full SHA for fe8dd49
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