@@ -3,7 +3,6 @@ |
||
| 3 | 3 | |
| 4 | 4 | use League\Tactician\Logger\PropertyNormalizer\PropertyNormalizer; |
| 5 | 5 | use League\Tactician\Logger\PropertyNormalizer\SimplePropertyNormalizer; |
| 6 | -use Exception; |
|
| 7 | 6 | |
| 8 | 7 | /** |
| 9 | 8 | * Formatter that includes the Command's name and properties for more detail |
@@ -38,11 +38,11 @@ |
||
| 38 | 38 | { |
| 39 | 39 | switch (gettype($value)) { |
| 40 | 40 | case 'object': |
| 41 | - return 'object(' . get_class($value) . ')'; |
|
| 41 | + return 'object('.get_class($value).')'; |
|
| 42 | 42 | case 'array': |
| 43 | 43 | return '*array*'; |
| 44 | 44 | case 'resource': |
| 45 | - return 'resource(' . get_resource_type($value) . ')'; |
|
| 45 | + return 'resource('.get_resource_type($value).')'; |
|
| 46 | 46 | case 'NULL': |
| 47 | 47 | return '*null*'; |
| 48 | 48 | default: |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | public function commandReceived($command) |
| 16 | 16 | { |
| 17 | - return 'Command received: ' . get_class($command); |
|
| 17 | + return 'Command received: '.get_class($command); |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | /** |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | */ |
| 24 | 24 | public function commandHandled($command) |
| 25 | 25 | { |
| 26 | - return 'Command succeeded: ' . get_class($command); |
|
| 26 | + return 'Command succeeded: '.get_class($command); |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | public function propertiesUsed($command) |