@@ -111,7 +111,7 @@ |
||
| 111 | 111 | /** |
| 112 | 112 | * Disconnects current user. |
| 113 | 113 | * |
| 114 | - * @return \yii\web\Reponse |
|
| 114 | + * @return \yii\web\Response |
|
| 115 | 115 | */ |
| 116 | 116 | public function actionLogout() |
| 117 | 117 | { |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | * |
| 268 | 268 | * @param int $id |
| 269 | 269 | * |
| 270 | - * @return \yii\web\Reponse |
|
| 270 | + * @return \yii\web\Response |
|
| 271 | 271 | */ |
| 272 | 272 | public function actionDelete($id) |
| 273 | 273 | { |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | * |
| 288 | 288 | * @param int $id content id |
| 289 | 289 | * |
| 290 | - * @return \yii\web\Reponse |
|
| 290 | + * @return \yii\web\Response |
|
| 291 | 291 | */ |
| 292 | 292 | public function actionToggle($id) |
| 293 | 293 | { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * |
| 122 | 122 | * @param int $id |
| 123 | 123 | * |
| 124 | - * @return \yii\web\Reponse |
|
| 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 \yii\web\Reponse |
|
| 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 \yii\web\Reponse |
|
| 186 | + * @return \yii\web\Response |
|
| 188 | 187 | */ |
| 189 | 188 | public function actionToggle($id) |
| 190 | 189 | { |
@@ -211,7 +211,7 @@ |
||
| 211 | 211 | * |
| 212 | 212 | * @param int $id screen id |
| 213 | 213 | * |
| 214 | - * @return \yii\web\Reponse |
|
| 214 | + * @return \yii\web\Response |
|
| 215 | 215 | */ |
| 216 | 216 | public function actionForceReload($id) |
| 217 | 217 | { |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | * |
| 147 | 147 | * @param int $id |
| 148 | 148 | * |
| 149 | - * @return \yii\web\Reponse |
|
| 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 \yii\web\Reponse |
|
| 194 | + * @return \yii\web\Response |
|
| 195 | 195 | */ |
| 196 | 196 | public function actionUnlink($id, $flowId) |
| 197 | 197 | { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | * |
| 126 | 126 | * @param int $id |
| 127 | 127 | * |
| 128 | - * @return \yii\web\Reponse |
|
| 128 | + * @return \yii\web\Response |
|
| 129 | 129 | */ |
| 130 | 130 | public function actionDelete($id) |
| 131 | 131 | { |
@@ -327,7 +327,7 @@ discard block |
||
| 327 | 327 | * @param float $min |
| 328 | 328 | * @param float $max |
| 329 | 329 | * |
| 330 | - * @return float random float |
|
| 330 | + * @return integer random float |
|
| 331 | 331 | */ |
| 332 | 332 | public static function randf($min = 0.0, $max = 1.0) |
| 333 | 333 | { |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | * |
| 79 | 79 | * @param int $id |
| 80 | 80 | * |
| 81 | - * @return \yii\web\Reponse |
|
| 81 | + * @return \yii\web\Response |
|
| 82 | 82 | */ |
| 83 | 83 | public function actionDelete($id) |
| 84 | 84 | { |
@@ -261,7 +261,7 @@ |
||
| 261 | 261 | return true; |
| 262 | 262 | } |
| 263 | 263 | |
| 264 | - $prevFlows = array_map(function ($f) { |
|
| 264 | + $prevFlows = array_map(function($f) { |
|
| 265 | 265 | return $f->id; |
| 266 | 266 | }, $this->flows); |
| 267 | 267 | |