@@ -49,7 +49,6 @@ |
||
49 | 49 | /** |
50 | 50 | * saves database scheme to xml file |
51 | 51 | * @param string $file name of file |
52 | - * @param int|string $mode |
|
53 | 52 | * @return bool |
54 | 53 | * |
55 | 54 | * TODO: write more documentation |
@@ -71,7 +71,7 @@ |
||
71 | 71 | * Checks if output formatter has style with specified name. |
72 | 72 | * |
73 | 73 | * @param string $name |
74 | - * @return bool |
|
74 | + * @return boolean|null |
|
75 | 75 | */ |
76 | 76 | public function hasStyle($name) { |
77 | 77 | $this->formatter->hasStyle($name); |
@@ -93,6 +93,9 @@ discard block |
||
93 | 93 | ]; |
94 | 94 | } |
95 | 95 | |
96 | + /** |
|
97 | + * @return OC\Files\View |
|
98 | + */ |
|
96 | 99 | private function buildFileViewMock($quota) { |
97 | 100 | // mock filesysten |
98 | 101 | $view = $this->getMock('\OC\Files\View', array('free_space'), array(), '', false); |
@@ -175,6 +178,9 @@ discard block |
||
175 | 178 | $this->plugin->checkQuota('/sub/test.txt-chunking-12345-3-1'); |
176 | 179 | } |
177 | 180 | |
181 | + /** |
|
182 | + * @return OC\Files\View |
|
183 | + */ |
|
178 | 184 | private function buildFileViewMock($quota, $checkedPath) { |
179 | 185 | // mock file systen |
180 | 186 | $view = $this->getMockBuilder('\OC\Files\View') |