Completed
Push — master ( 78b032...4251cd )
by Robin
01:40
created
src/Wrapped/Share.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,6 @@
 block discarded – undo
18 18
 use Icewind\SMB\IServer;
19 19
 use Icewind\SMB\ISystem;
20 20
 use Icewind\Streams\CallbackWrapper;
21
-use Icewind\SMB\Native\NativeShare;
22
-use Icewind\SMB\Native\NativeServer;
23 21
 
24 22
 class Share extends AbstractShare {
25 23
 	/**
Please login to merge, or discard this patch.
src/INotifyHandler.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
 	 * Note that this is a blocking process and will cause the process to block forever if not explicitly terminated
34 34
 	 *
35 35
 	 * @param callable(Change):?bool $callback
36
+	 * @return void
36 37
 	 */
37 38
 	public function listen(callable $callback): void;
38 39
 
@@ -40,6 +41,7 @@  discard block
 block discarded – undo
40 41
 	 * Stop listening for changes
41 42
 	 *
42 43
 	 * Note that any pending changes will be discarded
44
+	 * @return void
43 45
 	 */
44 46
 	public function stop(): void;
45 47
 }
Please login to merge, or discard this patch.
src/Native/NativeState.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@
 block discarded – undo
58 58
 		113 => NoRouteToHostException::class
59 59
 	];
60 60
 
61
+	/**
62
+	 * @param string|null $path
63
+	 */
61 64
 	protected function handleError(?string $path): void {
62 65
 		/** @var int $error */
63 66
 		$error = smbclient_state_errno($this->state);
Please login to merge, or discard this patch.