Skip to content

Commit

Permalink
Merge pull request #40039 from nextcloud/backport/39511/stable27
Browse files Browse the repository at this point in the history
[stable27] fix(utility): De- deprecate getDateTime and getTime as now() only returns DateTimeImmutable
  • Loading branch information
nickvergessen committed Aug 29, 2023
2 parents 67ff5d5 + 5133711 commit ff0569a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/public/AppFramework/Utility/ITimeFactory.php
Expand Up @@ -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;

Expand All @@ -50,7 +49,6 @@ public function getTime(): int;
* @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;

Expand Down

0 comments on commit ff0569a

Please sign in to comment.