diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-05-16 17:33:30 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-05-16 17:33:30 +0200 |
commit | d7ed056160a4f32e9e536bea0d934bbf97354ea4 (patch) | |
tree | 8d69828ffe2bc3c7e5693fea94acf3e11c08ead5 /lib/public/IEventSource.php | |
parent | a9f71315757a4c48f84cf5928022fa2fa105fad9 (diff) | |
download | nextcloud-server-d7ed056160a4f32e9e536bea0d934bbf97354ea4.tar.gz nextcloud-server-d7ed056160a4f32e9e536bea0d934bbf97354ea4.zip |
fix: Improve code quality in EventSource
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/IEventSource.php')
-rw-r--r-- | lib/public/IEventSource.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/IEventSource.php b/lib/public/IEventSource.php index 879b365cc77..f24c0311f24 100644 --- a/lib/public/IEventSource.php +++ b/lib/public/IEventSource.php @@ -37,6 +37,7 @@ interface IEventSource { * * @param string $type One of success, notice, error, failure and done. Used in core/js/update.js * @param mixed $data + * @return void * * if only one parameter is given, a typeless message will be send with that parameter as data * @since 8.0.0 @@ -45,6 +46,7 @@ interface IEventSource { /** * close the connection of the event source + * @return void * @since 8.0.0 */ public function close(); |