Completed
Branch master (9acd60)
by
unknown
09:48
created
src/Encoder/Parameters/SortParameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     {
55 55
         $prefix = $this->isAscending() ? '' : '-';
56 56
 
57
-        return $prefix . $this->getField();
57
+        return $prefix.$this->getField();
58 58
     }
59 59
 
60 60
     /**
Please login to merge, or discard this patch.
src/Encoder/Encoder.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -248,8 +248,7 @@
 block discarded – undo
248 248
     protected function encodeToJson(array $document)
249 249
     {
250 250
         return $this->getEncoderOptions() === null ?
251
-            json_encode($document) :
252
-            json_encode($document, $this->getEncoderOptions()->getOptions(), $this->getEncoderOptions()->getDepth());
251
+            json_encode($document) : json_encode($document, $this->getEncoderOptions()->getOptions(), $this->getEncoderOptions()->getDepth());
253 252
     }
254 253
 
255 254
     /**
Please login to merge, or discard this patch.