@@ -15,8 +15,8 @@ |
||
| 15 | 15 | |
| 16 | 16 | public function debug(mixed $message, string $title = null): Notification |
| 17 | 17 | { |
| 18 | - if (! is_string($message)) { |
|
| 19 | - $message = json_encode($message, JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT); |
|
| 18 | + if ( ! is_string($message)) { |
|
| 19 | + $message = json_encode($message, JSON_THROW_ON_ERROR|JSON_PRETTY_PRINT); |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | return new Notification($message, $title, NotificationType::$debug); |