Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHouraisanNEET <75371007+HouraisanNEET@users.noreply.github.com>2021-04-06 14:22:14 +0300
committerGitHub <noreply@github.com>2021-04-06 14:22:14 +0300
commite526518253c963f3b509252f54403b316fde272e (patch)
treee57b1446ce5a1a7c029a35dfac197ce1e882a16b /docs
parente046d0b09bf8f63887214f03a7a8c2f6a61c55d3 (diff)
Update notification-workflow.md
Line 30: From ``->setDateTime(new DateTime())`` To ``->setDateTime(new \DateTime())``
Diffstat (limited to 'docs')
-rw-r--r--docs/notification-workflow.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/notification-workflow.md b/docs/notification-workflow.md
index 2d23b58..7739d0c 100644
--- a/docs/notification-workflow.md
+++ b/docs/notification-workflow.md
@@ -27,7 +27,7 @@ $declineAction->setLabel('decline')
$notification->setApp('files_sharing')
->setUser('recipient1')
- ->setDateTime(new DateTime())
+ ->setDateTime(new \DateTime())
->setObject('remote', '1337') // $type and $id
->setSubject('remote_share', ['name' => '/fancyFolder']) // $subject and $parameters
->addAction($acceptAction)