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