@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | public function boot() |
| 24 | 24 | { |
| 25 | - $configPath = __DIR__ . '/../../config/understand-laravel.php'; |
|
| 25 | + $configPath = __DIR__.'/../../config/understand-laravel.php'; |
|
| 26 | 26 | $this->publishes([$configPath => config_path('understand-laravel.php')], 'config'); |
| 27 | 27 | |
| 28 | 28 | if ($this->app['config']->get('understand-laravel.log_types.eloquent_log.enabled')) |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | */ |
| 60 | 60 | protected function registerConfig() |
| 61 | 61 | { |
| 62 | - $configPath = __DIR__ . '/../../config/understand-laravel.php'; |
|
| 62 | + $configPath = __DIR__.'/../../config/understand-laravel.php'; |
|
| 63 | 63 | $this->mergeConfigFrom($configPath, 'understand-laravel'); |
| 64 | 64 | } |
| 65 | 65 | |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | return new Handlers\LaravelQueueHandler($inputToken, $apiUrl, $silent, $sslBundlePath); |
| 196 | 196 | } |
| 197 | 197 | |
| 198 | - throw new \ErrorException('understand-laravel handler misconfiguration:' . $handlerType); |
|
| 198 | + throw new \ErrorException('understand-laravel handler misconfiguration:'.$handlerType); |
|
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | /** |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | } |
| 271 | 271 | else |
| 272 | 272 | { |
| 273 | - $log = (array)$message; |
|
| 273 | + $log = (array) $message; |
|
| 274 | 274 | $log['tags'] = ['laravel_log']; |
| 275 | 275 | } |
| 276 | 276 | |
@@ -110,9 +110,9 @@ discard block |
||
| 110 | 110 | */ |
| 111 | 111 | protected function formatMessage($message) |
| 112 | 112 | { |
| 113 | - if ( ! is_bool($message)) |
|
| 113 | + if (!is_bool($message)) |
|
| 114 | 114 | { |
| 115 | - return (string)$message; |
|
| 115 | + return (string) $message; |
|
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | // cast boolean values to "1" or "0" strings |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | } |
| 159 | 159 | catch (\Exception $ex) |
| 160 | 160 | { |
| 161 | - if (! $this->silent) |
|
| 161 | + if (!$this->silent) |
|
| 162 | 162 | { |
| 163 | 163 | throw new $ex; |
| 164 | 164 | } |