fix new event documentation#490
Conversation
adapt to current implementation
nickvergessen
left a comment
There was a problem hiding this comment.
Looks good in general, apart from the setObject change
|
This pr just reflects the code documentation: https://github.com/nextcloud/server/blob/f91a85c32eb4a4c3cef20e0daab4069437df5d07/lib/public/Activity/IManager.php#L38-L51 /**
* Generates a new IEvent object
*
* Make sure to call at least the following methods before sending it to the
* app with via the publish() method:
* - setApp()
* - setType()
* - setAffectedUser()
* - setSubject()
*
* @return IEvent
* @since 8.2.0
*/
public function generateEvent(): IEvent;So if |
|
Ah oh... hmm then let me fix server and you move setObject() back here |
No problem. Done. |
No description provided.