Skip to content

Commit 47c0dd7

Browse files
authored
Merge pull request #22 from cdburgess/patch-1
Add ReturnTypeWillChange to createFromTimestamp
2 parents ff2f20c + 338c7b0 commit 47c0dd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Carbon/Traits/Timestamp.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ trait Timestamp
2525
*
2626
* Timestamp input can be given as int, float or a string containing one or more numbers.
2727
*/
28+
#[\ReturnTypeWillChange]
2829
public static function createFromTimestamp(
2930
float|int|string $timestamp,
3031
DateTimeZone|string|int|null $timezone = null,

0 commit comments

Comments
 (0)