Passed
Branch develop (9a7c76)
by Freddie
01:53
created
src/Entity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function __toString()
98 98
     {
99
-        return (string)\json_encode($this->toArray(), JSON_ERROR_NONE);
99
+        return (string) \json_encode($this->toArray(), JSON_ERROR_NONE);
100 100
     }
101 101
 
102 102
     /**
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     private function camelCase(string $attribute): string
120 120
     {
121
-        $string = \preg_replace_callback('/_(.?)/', function ($matches) {
121
+        $string = \preg_replace_callback('/_(.?)/', function($matches) {
122 122
             return \ucfirst($matches[1]);
123 123
         }, $attribute);
124 124
 
Please login to merge, or discard this patch.