@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | // render view output |
| 36 | 36 | return $this->view->render('contenttag/index', [ |
| 37 | - 'model' => $model |
|
| 37 | + 'model' => $model |
|
| 38 | 38 | ]); |
| 39 | 39 | } |
| 40 | 40 | } |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | $search = \Apps\ActiveRecord\App::getItem('app', $controller); |
| 85 | 85 | |
| 86 | 86 | // check what we got |
| 87 | - if ($search === null || (int)$search->id < 1) { |
|
| 87 | + if ($search === null || (int) $search->id < 1) { |
|
| 88 | 88 | throw new NotFoundException('App is not founded'); |
| 89 | 89 | } |
| 90 | 90 | |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | $search = \Apps\ActiveRecord\App::where('sys_name', $controllerName) |
| 117 | 117 | ->where('type', 'app') |
| 118 | 118 | ->first(); |
| 119 | - if (!$search || (int)$search->id < 1) { |
|
| 119 | + if (!$search || (int) $search->id < 1) { |
|
| 120 | 120 | throw new ForbiddenException('App is not founded'); |
| 121 | 121 | } |
| 122 | 122 | |