mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Merge pull request #39511 from nextcloud/fix/reverse-getDateTime-deprecation
fix(utility): De- deprecate getDateTime and getTime as now() only returns DateTimeImmutable
This commit is contained in:
commit
85ff1449d3
1 changed files with 0 additions and 2 deletions
|
|
@ -41,7 +41,6 @@ interface ITimeFactory extends ClockInterface {
|
|||
/**
|
||||
* @return int the result of a call to time()
|
||||
* @since 8.0.0
|
||||
* @deprecated 26.0.0 {@see ITimeFactory::now()}
|
||||
*/
|
||||
public function getTime(): int;
|
||||
|
||||
|
|
@ -50,7 +49,6 @@ interface ITimeFactory extends ClockInterface {
|
|||
* @param \DateTimeZone|null $timezone
|
||||
* @return \DateTime
|
||||
* @since 15.0.0
|
||||
* @deprecated 26.0.0 {@see ITimeFactory::now()}
|
||||
*/
|
||||
public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue