Skip to content

Commit 85ff144

Browse files
Merge pull request #39511 from nextcloud/fix/reverse-getDateTime-deprecation
fix(utility): De- deprecate getDateTime and getTime as now() only returns DateTimeImmutable
2 parents d498f9a + 66c1aa4 commit 85ff144

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/public/AppFramework/Utility/ITimeFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ interface ITimeFactory extends ClockInterface {
4141
/**
4242
* @return int the result of a call to time()
4343
* @since 8.0.0
44-
* @deprecated 26.0.0 {@see ITimeFactory::now()}
4544
*/
4645
public function getTime(): int;
4746

@@ -50,7 +49,6 @@ public function getTime(): int;
5049
* @param \DateTimeZone|null $timezone
5150
* @return \DateTime
5251
* @since 15.0.0
53-
* @deprecated 26.0.0 {@see ITimeFactory::now()}
5452
*/
5553
public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime;
5654

0 commit comments

Comments
 (0)