@@ -44,7 +44,7 @@ |
||
| 44 | 44 | { |
| 45 | 45 | parent::__construct(); |
| 46 | 46 | |
| 47 | - $this->database = config('database.connections.mysql.database'); |
|
| 47 | + $this->database = config('database.connections.mysql.database'); |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -273,8 +273,7 @@ |
||
| 273 | 273 | */ |
| 274 | 274 | protected function getPermissionValue($permArray, $id) |
| 275 | 275 | { |
| 276 | - $obj = Arr::first($permArray, function($value, $key) use ($id) |
|
| 277 | - { |
|
| 276 | + $obj = Arr::first($permArray, function($value, $key) use ($id) { |
|
| 278 | 277 | return $value->perm_type_id == $id; |
| 279 | 278 | }); |
| 280 | 279 | |