Skip to content

Commit

Permalink
Merge pull request #1471 from samsonasik/rem-unused-variable-result
Browse files Browse the repository at this point in the history
remove unused local variable $result in XMLFormatter::format()
  • Loading branch information
jim-parry authored Nov 12, 2018
2 parents a7d36b5 + c6e7821 commit fafad96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions system/Format/XMLFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit fafad96

Please sign in to comment.