@@ -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 | /** |