Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/3rdparty/icewind/smb/src/INotifyHandler.php')
-rw-r--r--apps/files_external/3rdparty/icewind/smb/src/INotifyHandler.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/3rdparty/icewind/smb/src/INotifyHandler.php b/apps/files_external/3rdparty/icewind/smb/src/INotifyHandler.php
index c3ee3ffe8cf..e964a15fa37 100644
--- a/apps/files_external/3rdparty/icewind/smb/src/INotifyHandler.php
+++ b/apps/files_external/3rdparty/icewind/smb/src/INotifyHandler.php
@@ -25,21 +25,21 @@ interface INotifyHandler {
*
* @return Change[]
*/
- public function getChanges();
+ public function getChanges(): array;
/**
* Listen actively to all incoming changes
*
* Note that this is a blocking process and will cause the process to block forever if not explicitly terminated
*
- * @param callable $callback
+ * @param callable(Change):?bool $callback
*/
- public function listen($callback);
+ public function listen(callable $callback): void;
/**
* Stop listening for changes
*
* Note that any pending changes will be discarded
*/
- public function stop();
+ public function stop(): void;
}