@@ -52,7 +52,7 @@ |
||
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | - * @return \Doctrine\DBAL\Schema\Schema[] |
|
| 55 | + * @return Schema[] |
|
| 56 | 56 | */ |
| 57 | 57 | private function getDuplicateKeySchemas() { |
| 58 | 58 | $startSchema = new Schema(array(), array(), $this->getSchemaConfig()); |
@@ -38,6 +38,10 @@ |
||
| 38 | 38 | parent::tearDown(); |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | + /** |
|
| 42 | + * @param Certificate[] $expected |
|
| 43 | + * @param OCP\ICertificate[] $actual |
|
| 44 | + */ |
|
| 41 | 45 | protected function assertEqualsArrays($expected, $actual) { |
| 42 | 46 | sort($expected); |
| 43 | 47 | sort($actual); |
@@ -926,6 +926,9 @@ |
||
| 926 | 926 | $this->assertSame(0, count($result6)); |
| 927 | 927 | } |
| 928 | 928 | |
| 929 | + /** |
|
| 930 | + * @param string[] $expected |
|
| 931 | + */ |
|
| 929 | 932 | public function verifyResult($result, $expected) { |
| 930 | 933 | foreach ($result as $r) { |
| 931 | 934 | if (in_array($r['item_target'], $expected)) { |
@@ -42,6 +42,9 @@ |
||
| 42 | 42 | protected $testId; |
| 43 | 43 | protected $preName; |
| 44 | 44 | |
| 45 | + /** |
|
| 46 | + * @param string $name |
|
| 47 | + */ |
|
| 45 | 48 | public function __construct($name=null){ |
| 46 | 49 | $this->addType('testId', 'integer'); |
| 47 | 50 | $this->name = $name; |
@@ -144,6 +144,9 @@ |
||
| 144 | 144 | return true; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string $path |
|
| 149 | + */ |
|
| 147 | 150 | public function url_stat($path) { |
| 148 | 151 | if (isset(self::$data[$path])) { |
| 149 | 152 | $size = strlen(self::$data[$path]); |
@@ -28,6 +28,9 @@ |
||
| 28 | 28 | |
| 29 | 29 | protected $mounts = []; |
| 30 | 30 | |
| 31 | + /** |
|
| 32 | + * @param string $mountPoint |
|
| 33 | + */ |
|
| 31 | 34 | protected function registerMount($userId, $storage, $mountPoint, $arguments = null) { |
| 32 | 35 | if (!isset($this->mounts[$userId])) { |
| 33 | 36 | $this->mounts[$userId] = []; |
@@ -144,6 +144,9 @@ |
||
| 144 | 144 | return true; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string $path |
|
| 149 | + */ |
|
| 147 | 150 | public function url_stat($path) { |
| 148 | 151 | if (isset(self::$data[$path])) { |
| 149 | 152 | $size = strlen(self::$data[$path]); |
@@ -144,6 +144,9 @@ |
||
| 144 | 144 | return true; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string $path |
|
| 149 | + */ |
|
| 147 | 150 | public function url_stat($path) { |
| 148 | 151 | if (isset(self::$data[$path])) { |
| 149 | 152 | $size = strlen(self::$data[$path]); |
@@ -144,6 +144,9 @@ |
||
| 144 | 144 | return true; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string $path |
|
| 149 | + */ |
|
| 147 | 150 | public function url_stat($path) { |
| 148 | 151 | if (isset(self::$data[$path])) { |
| 149 | 152 | $size = strlen(self::$data[$path]); |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | namespace OCA\Files_Sharing\Controllers; |
| 31 | 31 | |
| 32 | 32 | use OC; |
| 33 | -use OC\Files\Filesystem; |
|
| 34 | 33 | use OC_Files; |
| 35 | 34 | use OC_Util; |
| 36 | 35 | use OCP; |