Completed
Pull Request — master (#5)
by Timothée
03:28
created
src/Formatter/ClassPropertiesFormatter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/PropertyNormalizer/SimplePropertyNormalizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,11 +38,11 @@
 block discarded – undo
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:
Please login to merge, or discard this patch.
src/Formatter/ClassNameFormatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.