We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34cb455 commit 15c25e2Copy full SHA for 15c25e2
src/Chronos.php
@@ -20,6 +20,7 @@
20
use DateTimeInterface;
21
use DateTimeZone;
22
use InvalidArgumentException;
23
+use ReturnTypeWillChange;
24
use RuntimeException;
25
use Stringable;
26
@@ -997,7 +998,7 @@ public function modify(string $modifier): static
997
998
* @param bool $absolute Whether the interval is forced to be positive
999
* @return \Cake\Chronos\ChronosInterval
1000
*/
- #[\ReturnTypeWillChange]
1001
+ #[ReturnTypeWillChange]
1002
public function diff(DateTimeInterface $target, bool $absolute = false): ChronosInterval
1003
{
1004
return new ChronosInterval(parent::diff($target, $absolute));
0 commit comments