Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'cs/zendframework/zendframework#6921-remove-unused-varia…
Browse files Browse the repository at this point in the history
…ble-assignments' into develop

Close zendframework/zendframework#6921
Forward port zendframework/zendframework#6921
  • Loading branch information
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Escaper.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ public function getEncoding()
*/
public function escapeHtml($string)
{
$result = htmlspecialchars($string, $this->htmlSpecialCharsFlags, $this->encoding);
return $result;
return htmlspecialchars($string, $this->htmlSpecialCharsFlags, $this->encoding);
}

/**
Expand Down

0 comments on commit 33b7211

Please sign in to comment.