Skip to content

Commit c6e7821

Browse files
committed
remove unused local variable $result in XMLFormatter::format()
1 parent b92bdc7 commit c6e7821

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

system/Format/XMLFormatter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ class XMLFormatter implements FormatterInterface
4949
*/
5050
public function format(array $data)
5151
{
52-
$result = null;
53-
5452
// SimpleXML is installed but default
5553
// but best to check, and then provide a fallback.
5654
if (! extension_loaded('simplexml'))

0 commit comments

Comments
 (0)