Skip to content

Commit

Permalink
Made fix PSR2 compliant.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjlytle committed Jan 7, 2015
1 parent e42cd8f commit 9776990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HtmlElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function __toString()
$result .= ' ' . $key . '="' . $value . '"';
}

if (!is_null($this->contents) AND $this->contents != '') {
if (!is_null($this->contents) and $this->contents != '') {
$result .= '>' . $this->getContents(true) . '</' . $this->tagName . '>';
} elseif ($this->selfClosing) {
$result .= ' />';
Expand Down

0 comments on commit 9776990

Please sign in to comment.