From c6e7821f2ebe1a201700eb2e5e44c361c324cf34 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Tue, 13 Nov 2018 02:50:08 +0700 Subject: [PATCH] remove unused local variable $result in XMLFormatter::format() --- system/Format/XMLFormatter.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/system/Format/XMLFormatter.php b/system/Format/XMLFormatter.php index a21f051e0bae..96f93fb26518 100644 --- a/system/Format/XMLFormatter.php +++ b/system/Format/XMLFormatter.php @@ -49,8 +49,6 @@ class XMLFormatter implements FormatterInterface */ public function format(array $data) { - $result = null; - // SimpleXML is installed but default // but best to check, and then provide a fallback. if (! extension_loaded('simplexml'))