@@ -238,7 +238,7 @@ |
||
| 238 | 238 | */ |
| 239 | 239 | public function getObject($data) |
| 240 | 240 | { |
| 241 | - $obj = (object)json_decode($data); |
|
| 241 | + $obj = (object) json_decode($data); |
|
| 242 | 242 | if ($obj->success === false) { |
| 243 | 243 | $this->handleErrors($obj); |
| 244 | 244 | |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | Dispatcher $dispatcher |
| 48 | 48 | ) { |
| 49 | 49 | |
| 50 | - $this->config = (object)Yaml::parse(file_get_contents('./app/config/plugins/mxkarma.yml'))['parameters']; |
|
| 50 | + $this->config = (object) Yaml::parse(file_get_contents('./app/config/plugins/mxkarma.yml'))['parameters']; |
|
| 51 | 51 | $this->console = $console; |
| 52 | 52 | $this->dispatcher = $dispatcher; |
| 53 | 53 | $this->chatNotification = $chatNotification; |