summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-08-29 14:41:40 +0200
committerGitHub <noreply@github.com>2023-08-29 14:41:40 +0200
commitff0569abab7b6bd912e428d6ad21677c31c74059 (patch)
treebdbb7897b35a654ce4635b6be8eb771ea5f28b69 /lib
parent67ff5d50fd66828148ca8a50a45d2e18a9437697 (diff)
parent513371152aa5477b10b75d3b75b847f531057538 (diff)
downloadnextcloud-server-ff0569abab7b6bd912e428d6ad21677c31c74059.tar.gz
nextcloud-server-ff0569abab7b6bd912e428d6ad21677c31c74059.zip
Merge pull request #40039 from nextcloud/backport/39511/stable27
[stable27] fix(utility): De- deprecate getDateTime and getTime as now() only returns DateTimeImmutable
Diffstat (limited to 'lib')
-rw-r--r--lib/public/AppFramework/Utility/ITimeFactory.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/public/AppFramework/Utility/ITimeFactory.php b/lib/public/AppFramework/Utility/ITimeFactory.php
index 7a6acf97b2d..d4f74c9d107 100644
--- a/lib/public/AppFramework/Utility/ITimeFactory.php
+++ b/lib/public/AppFramework/Utility/ITimeFactory.php
@@ -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;