@@ -103,10 +103,14 @@ public function checkCreate()
103103
104104 /**
105105 * Create notification with given attributes
106- * @Param(type="post", name="groupsIds", validation="array", description="Identification of groups")
107- * @Param(type="post", name="visibleFrom", validation="timestamp", description="Date from which is notification visible")
108- * @Param(type="post", name="visibleTo", validation="timestamp", description="Date to which is notification visible")
109- * @Param(type="post", name="role", validation="string:1..", description="Users with this role and its children can see notification")
106+ * @Param(type="post", name="groupsIds", validation="array",
107+ * description="Identification of groups")
108+ * @Param(type="post", name="visibleFrom", validation="timestamp",
109+ * description="Date from which is notification visible")
110+ * @Param(type="post", name="visibleTo", validation="timestamp",
111+ * description="Date to which is notification visible")
112+ * @Param(type="post", name="role", validation="string:1..",
113+ * description="Users with this role and its children can see notification")
110114 * @Param(type="post", name="type", validation="string", description="Type of the notification (custom)")
111115 * @Param(type="post", name="localizedTexts", validation="array", description="Text of notification")
112116 * @POST
@@ -218,9 +222,12 @@ public function checkUpdate(string $id)
218222 * @POST
219223 * @param string $id
220224 * @Param(type="post", name="groupsIds", validation="array", description="Identification of groups")
221- * @Param(type="post", name="visibleFrom", validation="timestamp", description="Date from which is notification visible")
222- * @Param(type="post", name="visibleTo", validation="timestamp", description="Date to which is notification visible")
223- * @Param(type="post", name="role", validation="string:1..", description="Users with this role and its children can see notification")
225+ * @Param(type="post", name="visibleFrom", validation="timestamp",
226+ * description="Date from which is notification visible")
227+ * @Param(type="post", name="visibleTo", validation="timestamp",
228+ * description="Date to which is notification visible")
229+ * @Param(type="post", name="role", validation="string:1..",
230+ * description="Users with this role and its children can see notification")
224231 * @Param(type="post", name="type", validation="string", description="Type of the notification (custom)")
225232 * @Param(type="post", name="localizedTexts", validation="array", description="Text of notification")
226233 * @throws NotFoundException
0 commit comments