summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/eventsource.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/eventsource.php')
-rw-r--r--lib/private/legacy/eventsource.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/eventsource.php b/lib/private/legacy/eventsource.php
index 6211d851426..74beb157e18 100644
--- a/lib/private/legacy/eventsource.php
+++ b/lib/private/legacy/eventsource.php
@@ -97,6 +97,7 @@ class OC_EventSource implements \OCP\IEventSource {
*
* @throws \BadMethodCallException
* if only one parameter is given, a typeless message will be send with that parameter as data
+ * @suppress PhanDeprecatedFunction
*/
public function send($type, $data = null) {
if ($data and !preg_match('/^[A-Za-z0-9_]+$/', $type)) {