Fix highlighting (missing php start tag)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Carl Schwan
2021-10-26 18:39:26 +02:00
parent ec0114af4a
commit f9b068281a

View File

@@ -129,6 +129,7 @@ need to support older versions where the new app boostrap flow is not available,
however this method is deprecated and will be removed once Nextcloud 19 is EOL.
.. code-block:: php
<?php
use OCP\Dashboard\RegisterWidgetEvent;
use OCP\EventDispatcher\IEventDispatcher;
@@ -229,4 +230,4 @@ From the client point of view, the dashboard widget items can then be obtained w
-d '{"sinceIds":{"myappwidgetid":"2021-03-22T15:01:10Z","my_other_appwidgetid":"333"}}'
If your client periodically gets widget items content with this API,
include the latest `sinceId` for each widget to avoid getting the items you already have.
include the latest `sinceId` for each widget to avoid getting the items you already have.