@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * Lists all Device models. |
43 | 43 | * |
44 | - * @return mixed |
|
44 | + * @return string |
|
45 | 45 | */ |
46 | 46 | public function actionIndex() |
47 | 47 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * |
60 | 60 | * @param int $id |
61 | 61 | * |
62 | - * @return mixed |
|
62 | + * @return string |
|
63 | 63 | */ |
64 | 64 | public function actionView($id) |
65 | 65 | { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * |
122 | 122 | * @param int $id |
123 | 123 | * |
124 | - * @return mixed |
|
124 | + * @return \yii\web\Response |
|
125 | 125 | */ |
126 | 126 | public function actionDelete($id) |
127 | 127 | { |
@@ -164,9 +164,8 @@ discard block |
||
164 | 164 | * Remove a Screen from a Device. |
165 | 165 | * |
166 | 166 | * @param int $id |
167 | - * @param int $flowId |
|
168 | 167 | * |
169 | - * @return mixed |
|
168 | + * @return \yii\web\Response |
|
170 | 169 | */ |
171 | 170 | public function actionUnlink($id, $screenId) |
172 | 171 | { |
@@ -184,7 +183,7 @@ discard block |
||
184 | 183 | * |
185 | 184 | * @param int $id screen id |
186 | 185 | * |
187 | - * @return mixed |
|
186 | + * @return \yii\web\Response |
|
188 | 187 | */ |
189 | 188 | public function actionToggle($id) |
190 | 189 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | /** |
43 | 43 | * Lists all Screen models. |
44 | 44 | * |
45 | - * @return mixed |
|
45 | + * @return string |
|
46 | 46 | */ |
47 | 47 | public function actionIndex() |
48 | 48 | { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * |
66 | 66 | * @param int $id |
67 | 67 | * |
68 | - * @return mixed |
|
68 | + * @return string |
|
69 | 69 | */ |
70 | 70 | public function actionView($id) |
71 | 71 | { |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | * |
147 | 147 | * @param int $id |
148 | 148 | * |
149 | - * @return mixed |
|
149 | + * @return \yii\web\Response |
|
150 | 150 | */ |
151 | 151 | public function actionDelete($id) |
152 | 152 | { |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | * @param int $id |
192 | 192 | * @param int $flowId |
193 | 193 | * |
194 | - * @return mixed |
|
194 | + * @return \yii\web\Response |
|
195 | 195 | */ |
196 | 196 | public function actionUnlink($id, $flowId) |
197 | 197 | { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | /** |
45 | 45 | * Lists all ScreenTemplate models. |
46 | 46 | * |
47 | - * @return mixed |
|
47 | + * @return string |
|
48 | 48 | */ |
49 | 49 | public function actionIndex() |
50 | 50 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * |
63 | 63 | * @param int $id |
64 | 64 | * |
65 | - * @return mixed |
|
65 | + * @return string |
|
66 | 66 | */ |
67 | 67 | public function actionView($id) |
68 | 68 | { |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * |
127 | 127 | * @param int $id |
128 | 128 | * |
129 | - * @return mixed |
|
129 | + * @return \yii\web\Response |
|
130 | 130 | */ |
131 | 131 | public function actionDelete($id) |
132 | 132 | { |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | * |
210 | 210 | * @param int $id field id |
211 | 211 | * |
212 | - * @return mixed |
|
212 | + * @return null|string |
|
213 | 213 | */ |
214 | 214 | public function actionEditField($id) |
215 | 215 | { |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | * @param float $min |
331 | 331 | * @param float $max |
332 | 332 | * |
333 | - * @return float random float |
|
333 | + * @return integer random float |
|
334 | 334 | */ |
335 | 335 | public static function randf($min = 0.0, $max = 1.0) |
336 | 336 | { |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | /** |
35 | 35 | * Lists all TemplateBackground models. |
36 | 36 | * |
37 | - * @return mixed |
|
37 | + * @return string |
|
38 | 38 | */ |
39 | 39 | public function actionIndex() |
40 | 40 | { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | * |
79 | 79 | * @param int $id |
80 | 80 | * |
81 | - * @return mixed |
|
81 | + * @return \yii\web\Response |
|
82 | 82 | */ |
83 | 83 | public function actionDelete($id) |
84 | 84 | { |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | /** |
47 | 47 | * Lists all User models. |
48 | 48 | * |
49 | - * @return mixed |
|
49 | + * @return string |
|
50 | 50 | */ |
51 | 51 | public function actionIndex() |
52 | 52 | { |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * |
65 | 65 | * @param string $id |
66 | 66 | * |
67 | - * @return mixed |
|
67 | + * @return string |
|
68 | 68 | */ |
69 | 69 | public function actionView($id) |
70 | 70 | { |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | * |
135 | 135 | * @param string $id |
136 | 136 | * |
137 | - * @return mixed |
|
137 | + * @return \yii\web\Response |
|
138 | 138 | */ |
139 | 139 | public function actionDelete($id) |
140 | 140 | { |
@@ -54,6 +54,7 @@ discard block |
||
54 | 54 | |
55 | 55 | /** |
56 | 56 | * {@inheritdoc} |
57 | + * @param string $filename |
|
57 | 58 | */ |
58 | 59 | public function genImage($url, $filename) |
59 | 60 | { |
@@ -550,7 +551,7 @@ discard block |
||
550 | 551 | /** |
551 | 552 | * Trim and decode array content. |
552 | 553 | * |
553 | - * @param array $arr input array |
|
554 | + * @param string $arr input array |
|
554 | 555 | * |
555 | 556 | * @return array trimed array |
556 | 557 | */ |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | /** |
287 | 287 | * Try to get media info for this media. |
288 | 288 | * |
289 | - * @return \MediaInfo|null media info |
|
289 | + * @return \Mhor\MediaInfo\Container\MediaInfoContainer|null media info |
|
290 | 290 | */ |
291 | 291 | protected static function getMediaInfo($realFilepath) |
292 | 292 | { |
@@ -300,7 +300,8 @@ discard block |
||
300 | 300 | /** |
301 | 301 | * Use mediainfo to parse media duration. |
302 | 302 | * |
303 | - * @return int media duration |
|
303 | + * @param string $realFilepath |
|
304 | + * @return double|null media duration |
|
304 | 305 | */ |
305 | 306 | public static function getDuration($realFilepath) |
306 | 307 | { |
@@ -386,7 +387,7 @@ discard block |
||
386 | 387 | * After delete event |
387 | 388 | * Try to delete file if necessary. |
388 | 389 | * |
389 | - * @return bool success |
|
390 | + * @return boolean|null success |
|
390 | 391 | */ |
391 | 392 | public function afterDelete() |
392 | 393 | { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | * @param string $username |
103 | 103 | * @param string $password |
104 | 104 | * |
105 | - * @return \User|null created user |
|
105 | + * @return User|null created user |
|
106 | 106 | */ |
107 | 107 | public static function create($username, $password) |
108 | 108 | { |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | * |
138 | 138 | * @param string $id user ID |
139 | 139 | * |
140 | - * @return \User|null found user |
|
140 | + * @return User|null found user |
|
141 | 141 | */ |
142 | 142 | public static function findInLdap($id) |
143 | 143 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | /** |
43 | 43 | * Lists all Screen models. |
44 | 44 | * |
45 | - * @return mixed |
|
45 | + * @return string |
|
46 | 46 | */ |
47 | 47 | public function actionIndex() |
48 | 48 | { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * |
66 | 66 | * @param int $id |
67 | 67 | * |
68 | - * @return mixed |
|
68 | + * @return string |
|
69 | 69 | */ |
70 | 70 | public function actionView($id) |
71 | 71 | { |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | * |
147 | 147 | * @param int $id |
148 | 148 | * |
149 | - * @return mixed |
|
149 | + * @return \yii\web\Response |
|
150 | 150 | */ |
151 | 151 | public function actionDelete($id) |
152 | 152 | { |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | * @param int $id |
192 | 192 | * @param int $flowId |
193 | 193 | * |
194 | - * @return mixed |
|
194 | + * @return \yii\web\Response |
|
195 | 195 | */ |
196 | 196 | public function actionUnlink($id, $flowId) |
197 | 197 | { |