@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * |
108 | 108 | * @param Mediafile $mediafileModel |
109 | 109 | * |
110 | - * @return UploadModelInterface |
|
110 | + * @return \Itstructure\MFUploader\interfaces\UploadModelInterface |
|
111 | 111 | */ |
112 | 112 | public function setModelForSave(Mediafile $mediafileModel): UploadModelInterface |
113 | 113 | { |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * |
131 | 131 | * @param Mediafile $mediafileModel |
132 | 132 | * |
133 | - * @return UploadModelInterface |
|
133 | + * @return \Itstructure\MFUploader\interfaces\UploadModelInterface |
|
134 | 134 | */ |
135 | 135 | public function setModelForDelete(Mediafile $mediafileModel): UploadModelInterface |
136 | 136 | { |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | /** |
91 | 91 | * Set model. |
92 | 92 | * |
93 | - * @param Album $model |
|
93 | + * @param \Itstructure\MFUploader\models\album\Album $model |
|
94 | 94 | */ |
95 | 95 | public function setModel(Album $model): void |
96 | 96 | { |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | /** |
101 | 101 | * Returns model. |
102 | 102 | * |
103 | - * @return Album |
|
103 | + * @return \Itstructure\MFUploader\models\album\Album |
|
104 | 104 | */ |
105 | 105 | public function getModel(): Album |
106 | 106 | { |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | /** |
125 | 125 | * Lists all Album models. |
126 | 126 | * |
127 | - * @return mixed |
|
127 | + * @return string |
|
128 | 128 | */ |
129 | 129 | public function actionIndex() |
130 | 130 | { |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | * |
150 | 150 | * @throws NotFoundHttpException if the model cannot be found |
151 | 151 | * |
152 | - * @return mixed |
|
152 | + * @return string |
|
153 | 153 | */ |
154 | 154 | public function actionView($id) |
155 | 155 | { |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | * @throws NotFoundHttpException if the model cannot be found |
249 | 249 | * @throws BadRequestHttpException |
250 | 250 | * |
251 | - * @return mixed |
|
251 | + * @return \yii\web\Response |
|
252 | 252 | */ |
253 | 253 | public function actionDelete($id) |
254 | 254 | { |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | * @throws BadRequestHttpException |
272 | 272 | * @throws NotFoundHttpException |
273 | 273 | * |
274 | - * @return Album |
|
274 | + * @return \Itstructure\MFUploader\models\album\Album |
|
275 | 275 | */ |
276 | 276 | protected function findModel($key): Album |
277 | 277 | { |
@@ -302,7 +302,7 @@ discard block |
||
302 | 302 | /** |
303 | 303 | * Returns new object of main Album model. |
304 | 304 | * |
305 | - * @return Album |
|
305 | + * @return \Itstructure\MFUploader\models\album\Album |
|
306 | 306 | */ |
307 | 307 | protected function getNewModel(): Album |
308 | 308 | { |
@@ -313,7 +313,7 @@ discard block |
||
313 | 313 | /** |
314 | 314 | * Returns an intermediate model for working with the main. |
315 | 315 | * |
316 | - * @param int|string|null $key |
|
316 | + * @param integer $key |
|
317 | 317 | * |
318 | 318 | * @return void |
319 | 319 | */ |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | private $uploadModel; |
42 | 42 | |
43 | 43 | /** |
44 | - * @return UploadComponentInterface |
|
44 | + * @return \Itstructure\MFUploader\interfaces\UploadComponentInterface |
|
45 | 45 | */ |
46 | 46 | abstract protected function getUploadComponent(): UploadComponentInterface; |
47 | 47 | |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | /** |
109 | 109 | * Set upload model. |
110 | 110 | * |
111 | - * @param UploadModelInterface $model |
|
111 | + * @param \Itstructure\MFUploader\interfaces\UploadModelInterface $model |
|
112 | 112 | * |
113 | 113 | * @return void |
114 | 114 | */ |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | /** |
121 | 121 | * Returns upload model. |
122 | 122 | * |
123 | - * @return UploadModelInterface |
|
123 | + * @return \Itstructure\MFUploader\interfaces\UploadModelInterface |
|
124 | 124 | */ |
125 | 125 | public function getUploadModel(): UploadModelInterface |
126 | 126 | { |
@@ -608,7 +608,7 @@ |
||
608 | 608 | * @param Module $module |
609 | 609 | * @param string $fileType |
610 | 610 | * |
611 | - * @return array |
|
611 | + * @return string |
|
612 | 612 | */ |
613 | 613 | private function getOptions( |
614 | 614 | array $options, |
@@ -147,7 +147,7 @@ |
||
147 | 147 | /** |
148 | 148 | * Create thumb. |
149 | 149 | * |
150 | - * @param ThumbConfigInterface|ThumbConfig $thumbConfig |
|
150 | + * @param \Itstructure\MFUploader\interfaces\ThumbConfigInterface $thumbConfig |
|
151 | 151 | * |
152 | 152 | * @return string |
153 | 153 | */ |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | /** |
108 | 108 | * Set s3 client. |
109 | 109 | * |
110 | - * @param S3ClientInterface $s3Client |
|
110 | + * @param \Aws\S3\S3ClientInterface $s3Client |
|
111 | 111 | */ |
112 | 112 | public function setS3Client(S3ClientInterface $s3Client): void |
113 | 113 | { |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | /** |
243 | 243 | * Create thumb. |
244 | 244 | * |
245 | - * @param ThumbConfigInterface $thumbConfig |
|
245 | + * @param \Itstructure\MFUploader\interfaces\ThumbConfigInterface $thumbConfig |
|
246 | 246 | * |
247 | 247 | * @return mixed |
248 | 248 | */ |
@@ -371,9 +371,9 @@ |
||
371 | 371 | /** |
372 | 372 | * Module translator. |
373 | 373 | * |
374 | - * @param $category |
|
375 | - * @param $message |
|
376 | - * @param array $params |
|
374 | + * @param string $category |
|
375 | + * @param string $message |
|
376 | + * @param integer[] $params |
|
377 | 377 | * @param null $language |
378 | 378 | * |
379 | 379 | * @return string |