Skip to content

Commit fafad96

Browse files
authored
Merge pull request #1471 from samsonasik/rem-unused-variable-result
remove unused local variable $result in XMLFormatter::format()
2 parents a7d36b5 + c6e7821 commit fafad96

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)