Skip to content

Commit 274dca2

Browse files
committed
refactor: remove setTimestamp() because it only returns parent method
1 parent f4c5ad9 commit 274dca2

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

system/I18n/TimeTrait.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -687,21 +687,6 @@ public function setTimezone($timezone)
687687
return self::createFromInstance($this->toDateTime()->setTimezone($timezone), $this->locale);
688688
}
689689

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-
705690
// --------------------------------------------------------------------
706691
// Add/Subtract
707692
// --------------------------------------------------------------------

0 commit comments

Comments
 (0)