@@ -54,7 +54,7 @@ |
||
| 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 | /** |
@@ -248,8 +248,7 @@ |
||
| 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 | /** |