We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b972744 commit 556c707Copy full SHA for 556c707
1 file changed
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
@@ -1013,7 +1014,7 @@ public function modify(string $modifier): static
1013
1014
* @param bool $absolute Whether the interval is forced to be positive
1015
* @return \Cake\Chronos\ChronosInterval
1016
*/
- #[\ReturnTypeWillChange]
1017
+ #[ReturnTypeWillChange]
1018
public function diff(DateTimeInterface $target, bool $absolute = false): ChronosInterval
1019
{
1020
return new ChronosInterval(parent::diff($target, $absolute));
0 commit comments