Skip to content

Commit

Permalink
Merge pull request lochmueller#45 from fharzendorf/patch-1
Browse files Browse the repository at this point in the history
Fixed empty responseBody
  • Loading branch information
lochmueller authored Mar 11, 2019
2 parents 4b3fa6d + e4eccc7 commit f99265e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Service/CleanHtmlService.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ public function setVariables(array $config)
* @param string $html
* @param array $config
*
* @return void
* @return string
*/
public function clean(&$html, $config = [])
public function clean($html, $config = [])
{
if (!empty($config)) {
if ((bool)$config['enabled'] === false) {
return;
return $html;
}

$this->setVariables($config);
Expand Down

0 comments on commit f99265e

Please sign in to comment.