@@ -133,7 +133,6 @@ discard block |
||
| 133 | 133 | /** |
| 134 | 134 | * Delete current files |
| 135 | 135 | * |
| 136 | - * @param Storage $storage |
|
| 137 | 136 | * @param int $ownerId The id of the owner |
| 138 | 137 | * @param int $ownerType The type of the owner |
| 139 | 138 | * @param rkit\filemanager\models\File[] $exceptFiles |
@@ -158,7 +157,6 @@ discard block |
||
| 158 | 157 | * Bind the file to the with owner |
| 159 | 158 | * @internal |
| 160 | 159 | * |
| 161 | - * @param Storage $storage The storage for the file |
|
| 162 | 160 | * @param int $ownerId The id of the owner |
| 163 | 161 | * @param int $ownerType The type of the owner |
| 164 | 162 | * @param int $fileId The id of the file |
@@ -182,7 +180,6 @@ discard block |
||
| 182 | 180 | /** |
| 183 | 181 | * Bind files to the with owner |
| 184 | 182 | * |
| 185 | - * @param Storage $storage The storage for the files |
|
| 186 | 183 | * @param int $ownerId The id of the owner |
| 187 | 184 | * @param int $ownerType The type of the owner |
| 188 | 185 | * @param array $files Array of ids |
@@ -217,7 +214,6 @@ discard block |
||
| 217 | 214 | * Get the path of the file |
| 218 | 215 | * |
| 219 | 216 | * @param mixed $file |
| 220 | - * @param mixed $oldValue |
|
| 221 | 217 | * @return string |
| 222 | 218 | */ |
| 223 | 219 | private function getFilePathValue($file, $defaultValue) |
@@ -146,6 +146,7 @@ discard block |
||
| 146 | 146 | * |
| 147 | 147 | * $param string $path File path |
| 148 | 148 | * @param string $mimeType MimeType of the file |
| 149 | + * @param string $path |
|
| 149 | 150 | * @return string |
| 150 | 151 | */ |
| 151 | 152 | private function getExtensionByMimeType($path, $mimeType) |
@@ -221,7 +222,6 @@ discard block |
||
| 221 | 222 | /** |
| 222 | 223 | * Check access to file |
| 223 | 224 | * |
| 224 | - * @param int $ownerId The id of the owner |
|
| 225 | 225 | * @param int $ownerType The type of the owner |
| 226 | 226 | * @return bool |
| 227 | 227 | */ |