Update notification-workflow.md
Line 30: From ``->setDateTime(new DateTime())`` To ``->setDateTime(new \DateTime())``
This commit is contained in:
Родитель
e046d0b09b
Коммит
e526518253
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче