Completed
Push — master ( 0d9341...91d173 )
by Robin
01:19
created
src/Wrapped/Parser.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -75,6 +75,10 @@  discard block
 block discarded – undo
75 75
 		return false;
76 76
 	}
77 77
 
78
+	/**
79
+	 * @param string[] $output
80
+	 * @param string $path
81
+	 */
78 82
 	public function checkForError($output, $path) {
79 83
 		if (strpos($output[0], 'does not exist')) {
80 84
 			throw new NotFoundException($path);
@@ -130,6 +134,9 @@  discard block
 block discarded – undo
130 134
 		return $result;
131 135
 	}
132 136
 
137
+	/**
138
+	 * @param string[] $output
139
+	 */
133 140
 	public function parseStat($output) {
134 141
 		$data = [];
135 142
 		foreach ($output as $line) {
@@ -151,6 +158,10 @@  discard block
 block discarded – undo
151 158
 		];
152 159
 	}
153 160
 
161
+	/**
162
+	 * @param string[] $output
163
+	 * @param string $basePath
164
+	 */
154 165
 	public function parseDir($output, $basePath, callable $aclCallback) {
155 166
 		//last line is used space
156 167
 		array_pop($output);
Please login to merge, or discard this patch.
src/Wrapped/Share.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -8,20 +8,16 @@
 block discarded – undo
8 8
 namespace Icewind\SMB\Wrapped;
9 9
 
10 10
 use Icewind\SMB\AbstractShare;
11
-use Icewind\SMB\ACL;
12 11
 use Icewind\SMB\Exception\ConnectionException;
13 12
 use Icewind\SMB\Exception\DependencyException;
14 13
 use Icewind\SMB\Exception\FileInUseException;
15 14
 use Icewind\SMB\Exception\InvalidTypeException;
16 15
 use Icewind\SMB\Exception\NotFoundException;
17
-use Icewind\SMB\Exception\InvalidRequestException;
18 16
 use Icewind\SMB\IFileInfo;
19 17
 use Icewind\SMB\INotifyHandler;
20 18
 use Icewind\SMB\IServer;
21 19
 use Icewind\SMB\ISystem;
22 20
 use Icewind\Streams\CallbackWrapper;
23
-use Icewind\SMB\Native\NativeShare;
24
-use Icewind\SMB\Native\NativeServer;
25 21
 
26 22
 class Share extends AbstractShare {
27 23
 	/**
Please login to merge, or discard this patch.