From 5d0ee926a576606c5b6a06e7a58f4444b7ee558f Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Mon, 29 Aug 2016 19:57:10 +0200 Subject: [PATCH] [JsonFormat] Remove obsolete FIXME We don't need to convert fields that are NULL, since json_encode will correctly encode those fields. --- formats/JsonFormat.php | 1 - 1 file changed, 1 deletion(-) diff --git a/formats/JsonFormat.php b/formats/JsonFormat.php index ce25953..e173f23 100644 --- a/formats/JsonFormat.php +++ b/formats/JsonFormat.php @@ -6,7 +6,6 @@ class JsonFormat extends FormatAbstract{ public function stringify(){ - // FIXME : sometime content can be null, transform to empty string $items = $this->getItems(); return json_encode($items, JSON_PRETTY_PRINT);