@@ -44,6 +44,7 @@ |
||
44 | 44 | |
45 | 45 | /** |
46 | 46 | * @param boolean $isManipulation |
47 | + * @param Doctrine\DBAL\Driver\Statement $statement |
|
47 | 48 | */ |
48 | 49 | public function __construct($statement, $isManipulation) { |
49 | 50 | $this->statement = $statement; |
@@ -150,7 +150,6 @@ |
||
150 | 150 | /** |
151 | 151 | * saves database schema to xml file |
152 | 152 | * @param string $file name of file |
153 | - * @param int $mode |
|
154 | 153 | * @return bool |
155 | 154 | * |
156 | 155 | * TODO: write more documentation |
@@ -51,6 +51,9 @@ discard block |
||
51 | 51 | $this->rootPath = $arguments['root']; |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $path |
|
56 | + */ |
|
54 | 57 | public function getSourcePath($path) { |
55 | 58 | if ($this->rootPath === null) { |
56 | 59 | throw new \InvalidArgumentException('Jail rootPath is null'); |
@@ -131,7 +134,7 @@ discard block |
||
131 | 134 | * see http://php.net/manual/en/function.filetype.php |
132 | 135 | * |
133 | 136 | * @param string $path |
134 | - * @return bool |
|
137 | + * @return string|false |
|
135 | 138 | */ |
136 | 139 | public function filetype($path) { |
137 | 140 | return $this->getWrapperStorage()->filetype($this->getSourcePath($path)); |
@@ -25,7 +25,6 @@ |
||
25 | 25 | namespace OC\Files\Storage\Wrapper; |
26 | 26 | |
27 | 27 | use OC\Files\Cache\Wrapper\CacheJail; |
28 | -use OCP\Files\Storage\IStorage; |
|
29 | 28 | use OCP\Lock\ILockingProvider; |
30 | 29 | use Psr\Http\Message\StreamInterface; |
31 | 30 |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | * see http://php.net/manual/en/function.filetype.php |
133 | 133 | * |
134 | 134 | * @param string $path |
135 | - * @return bool |
|
135 | + * @return string|false |
|
136 | 136 | */ |
137 | 137 | public function filetype($path) { |
138 | 138 | return $this->getWrapperStorage()->filetype($path); |
@@ -461,7 +461,7 @@ discard block |
||
461 | 461 | /** |
462 | 462 | * Returns true |
463 | 463 | * |
464 | - * @return true |
|
464 | + * @return boolean |
|
465 | 465 | */ |
466 | 466 | public function test() { |
467 | 467 | return $this->getWrapperStorage()->test(); |
@@ -278,6 +278,11 @@ |
||
278 | 278 | */ |
279 | 279 | // FIXME This method is only public, until \OCP\IL10N does not need it anymore, |
280 | 280 | // FIXME This is also the reason, why it is not in the public interface |
281 | + |
|
282 | + /** |
|
283 | + * @param string $app |
|
284 | + * @param string $lang |
|
285 | + */ |
|
281 | 286 | public function getL10nFilesForApp($app, $lang) { |
282 | 287 | $languageFiles = []; |
283 | 288 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | * Creates a Folder that represents a non-existing path |
33 | 33 | * |
34 | 34 | * @param string $path path |
35 | - * @return string non-existing node class |
|
35 | + * @return NonExistingFile non-existing node class |
|
36 | 36 | */ |
37 | 37 | protected function createNonExistingNode($path) { |
38 | 38 | return new NonExistingFile($this->root, $this->view, $path); |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * Creates a Folder that represents a non-existing path |
35 | 35 | * |
36 | 36 | * @param string $path path |
37 | - * @return string non-existing node class |
|
37 | + * @return NonExistingFolder non-existing node class |
|
38 | 38 | */ |
39 | 39 | protected function createNonExistingNode($path) { |
40 | 40 | return new NonExistingFolder($this->root, $this->view, $path); |
@@ -142,7 +142,7 @@ |
||
142 | 142 | * This will be used in the {DAV:}supported-report-set property. |
143 | 143 | * |
144 | 144 | * @param string $uri |
145 | - * @return array |
|
145 | + * @return string[] |
|
146 | 146 | */ |
147 | 147 | public function getSupportedReportSet($uri) { |
148 | 148 | return [self::REPORT_NAME]; |
@@ -116,7 +116,7 @@ |
||
116 | 116 | * @param RequestInterface $request |
117 | 117 | * @param ResponseInterface $response |
118 | 118 | * |
119 | - * @return null|bool |
|
119 | + * @return null|false |
|
120 | 120 | */ |
121 | 121 | public function httpPost(RequestInterface $request, ResponseInterface $response) { |
122 | 122 | $path = $request->getPath(); |