Completed
Pull Request — master (#70)
by Raffael
13:44
created
src/Native/NativeShare.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@  discard block
 block discarded – undo
66 66
 		return $this->name;
67 67
 	}
68 68
 
69
+	/**
70
+	 * @param string $path
71
+	 */
69 72
 	private function buildUrl($path) {
70 73
 		$this->verifyPath($path);
71 74
 		$url = sprintf('smb://%s/%s', $this->server->getHost(), $this->name);
@@ -116,7 +119,7 @@  discard block
 block discarded – undo
116 119
 	 * Get fstat
117 120
 	 *
118 121
 	 * @param string $path
119
-	 * @return array
122
+	 * @return callable
120 123
 	 */
121 124
 	private function getStat($path) {
122 125
 		return $this->getState()->stat($this->buildUrl($path));
@@ -298,7 +301,7 @@  discard block
 block discarded – undo
298 301
 	 *
299 302
 	 * @param string $path
300 303
 	 * @param string $attribute attribute to get the info
301
-	 * @param string|int $value
304
+	 * @param integer $value
302 305
 	 * @return mixed the attribute value
303 306
 	 */
304 307
 	public function setAttribute($path, $attribute, $value) {
Please login to merge, or discard this patch.
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.