@@ -11,13 +11,10 @@ |
||
11 | 11 | |
12 | 12 | namespace Icybee\Modules\Files\Block; |
13 | 13 | |
14 | -use ICanBoogie\I18n; |
|
15 | 14 | use ICanBoogie\Operation; |
16 | - |
|
17 | 15 | use Brickrouge\Element; |
18 | 16 | use Brickrouge\Document; |
19 | 17 | use Brickrouge\Form; |
20 | - |
|
21 | 18 | use Icybee\Modules\Files as Root; |
22 | 19 | use Icybee\Modules\Files\File; |
23 | 20 |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | class Hooks |
20 | 20 | { |
21 | 21 | /** |
22 | - * @param Core|Binding\CoreBindings $app |
|
22 | + * @param Core $app |
|
23 | 23 | * |
24 | 24 | * @return FileStorageIndex |
25 | 25 | */ |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
34 | - * @param Core|Binding\CoreBindings $app |
|
34 | + * @param Core $app |
|
35 | 35 | * |
36 | 36 | * @return FileStorage |
37 | 37 | */ |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Icybee\Modules\Files; |
13 | 13 | |
14 | 14 | use ICanBoogie\Core; |
15 | - |
|
16 | 15 | use Icybee\Modules\Files\Storage\FileStorage; |
17 | 16 | use Icybee\Modules\Files\Storage\FileStorageIndex; |
18 | 17 |
@@ -12,8 +12,6 @@ |
||
12 | 12 | namespace Icybee\Modules\Files\Routing; |
13 | 13 | |
14 | 14 | use ICanBoogie\HTTP\FileResponse; |
15 | -use ICanBoogie\HTTP\Request; |
|
16 | - |
|
17 | 15 | use Icybee\Modules\Files\Binding\CoreBindings; |
18 | 16 | use Icybee\Modules\Files\File; |
19 | 17 | use Icybee\Modules\Files\FileModel; |
@@ -12,12 +12,10 @@ |
||
12 | 12 | namespace Icybee\Modules\Files\Routing; |
13 | 13 | |
14 | 14 | use ICanBoogie\HTTP\FileResponse; |
15 | -use ICanBoogie\HTTP\Request; |
|
16 | 15 | use ICanBoogie\Routing\Controller; |
17 | 16 | use ICanBoogie\Binding\Routing\ControllerBindings; |
18 | 17 | use ICanBoogie\Binding\Routing\ForwardUndefinedPropertiesToApplication; |
19 | 18 | use ICanBoogie\Module\ControllerBindings as ModuleBindings; |
20 | - |
|
21 | 19 | use Icybee\Modules\Files\Binding\CoreBindings; |
22 | 20 | use Icybee\Modules\Files\File; |
23 | 21 |
@@ -105,7 +105,7 @@ |
||
105 | 105 | * |
106 | 106 | * If a file has no reference left it is deleted. |
107 | 107 | * |
108 | - * @param $key_or_id_or_uuid_or_hash |
|
108 | + * @param string $key_or_id_or_uuid_or_hash |
|
109 | 109 | */ |
110 | 110 | public function release($key_or_id_or_uuid_or_hash) |
111 | 111 | { |
@@ -118,7 +118,7 @@ |
||
118 | 118 | /** |
119 | 119 | * Deletes key(s) from the index. |
120 | 120 | * |
121 | - * @param IndexKey|int|string $key_or_id_or_uuid_or_hash |
|
121 | + * @param IndexKey $key_or_id_or_uuid_or_hash |
|
122 | 122 | * |
123 | 123 | * @throws \InvalidArgumentException if `$key_or_id_or_uuid_or_hash` is not of the expected type. |
124 | 124 | */ |
@@ -69,7 +69,7 @@ |
||
69 | 69 | * |
70 | 70 | * @param string $key |
71 | 71 | * |
72 | - * @return array |
|
72 | + * @return string[] |
|
73 | 73 | */ |
74 | 74 | static private function parse_key($key) |
75 | 75 | { |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Icybee\Modules\Files; |
13 | 13 | |
14 | 14 | use Brickrouge\Element; |
15 | -use ICanBoogie\I18n; |
|
16 | 15 | |
17 | 16 | class FileUpload extends \Brickrouge\File |
18 | 17 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use ICanBoogie\ErrorCollection; |
15 | 15 | use ICanBoogie\HTTP\Request; |
16 | 16 | use ICanBoogie\HTTP\File as HTTPFile; |
17 | - |
|
18 | 17 | use Icybee\Modules\Files\File; |
19 | 18 | use Icybee\Modules\Files\Module; |
20 | 19 |