Skip to content

Commit

Permalink
[+]: fix for old php-versions v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Moelleken committed Feb 10, 2016
1 parent 8d79b42 commit b48be1d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/CssToInlineStyles.php
Expand Up @@ -477,11 +477,12 @@ private function splitIntoProperties($styles)
/**
* create DOMDocument from HTML
*
* @param $html
* @param string $html
* @param int $libXMLOptions
*
* @return \DOMDocument
*/
private function createDOMDocument($html, $libXMLOptions)
private function createDOMDocument($html, $libXMLOptions = 0)
{
// create new DOMDocument
$document = new \DOMDocument('1.0', $this->getEncoding());
Expand Down

0 comments on commit b48be1d

Please sign in to comment.