Completed
Push — master ( b2ef5f...51e17f )
by Hong
02:33
created
src/Phossa2/Shared/Message/Formatter/DefaultFormatter.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,9 +48,8 @@
 block discarded – undo
48 48
      */
49 49
     protected function stringize(array &$arguments)
50 50
     {
51
-        array_walk($arguments, function (&$value) {
52
-            $value = is_scalar($value) ? (string) $value :
53
-            substr(print_r($value, true), 0, 50);
51
+        array_walk($arguments, function(&$value) {
52
+            $value = is_scalar($value) ? (string) $value : substr(print_r($value, true), 0, 50);
54 53
         });
55 54
         return $this;
56 55
     }
Please login to merge, or discard this patch.
src/Phossa2/Shared/Reader/JsonReader.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
         } else {
59 59
             $error = json_last_error();
60 60
             return isset(static::$error[$error]) ?
61
-                static::$error[$error] :
62
-                'JSON parse error';
61
+                static::$error[$error] : 'JSON parse error';
63 62
         }
64 63
     }
65 64
 }
Please login to merge, or discard this patch.