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.
1 parent b20df7c commit 9395543Copy full SHA for 9395543
system/I18n/TimeTrait.php
@@ -685,21 +685,6 @@ public function setTimezone($timezone)
685
return static::createFromInstance($this->toDateTime()->setTimezone($timezone), $this->locale);
686
}
687
688
- /**
689
- * Returns a new instance with the date set to the new timestamp.
690
- *
691
- * @param int $timestamp
692
693
- * @return static
694
695
- * @throws Exception
696
- */
697
- #[ReturnTypeWillChange]
698
- public function setTimestamp($timestamp)
699
- {
700
- return parent::setTimestamp($timestamp);
701
- }
702
-
703
// --------------------------------------------------------------------
704
// Add/Subtract
705
0 commit comments