Skip to content

Commit

Permalink
Update support for laravie/html 5.3.1
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <[email protected]>
  • Loading branch information
crynobone committed Dec 3, 2016
1 parent 8704a09 commit 98d3c82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"require": {
"php": ">=5.6.0",
"laravie/html": "~5.3.0",
"laravie/html": "~5.3.1",
"illuminate/translation": "~5.3.0",
"orchestra/contracts": "~3.3.0",
"orchestra/support": "~3.3.0"
Expand Down
4 changes: 2 additions & 2 deletions src/HtmlBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ public function create($tag = 'div', $value = null, $attributes = [])
/**
* {@inheritdoc}
*/
public function entities($value)
public function entities($value, $encoding = false)
{
if ($value instanceof Htmlable) {
return $value->toHtml();
}

return parent::entities($value);
return parent::entities($value, $encoding);
}

/**
Expand Down

0 comments on commit 98d3c82

Please sign in to comment.