Completed
Push — master ( b9da3c...daa7f0 )
by Viacheslav
26s queued 12s
created
src/InvalidFieldTypeException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     )
32 32
     {
33 33
         parent::__construct(
34
-            'Invalid field type - "' . $field . '" should be of type: ' . $expectedType,
34
+            'Invalid field type - "'.$field.'" should be of type: '.$expectedType,
35 35
             $code,
36 36
             $previous
37 37
         );
Please login to merge, or discard this patch.
src/JsonPatch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         foreach ($data as $operation) {
58 58
             /** @var OpPath|OpPathValue|OpPathFrom|array $operation */
59 59
             if (is_array($operation)) {
60
-                $operation = (object)$operation;
60
+                $operation = (object) $operation;
61 61
             }
62 62
             if (!is_object($operation)) {
63 63
                 throw new Exception('Invalid patch operation - should be a JSON object');
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     {
125 125
         $result = array();
126 126
         foreach ($patch->operations as $operation) {
127
-            $result[] = (object)(array)$operation;
127
+            $result[] = (object) (array) $operation;
128 128
         }
129 129
 
130 130
         return $result;
Please login to merge, or discard this patch.