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

Commit

Permalink
change is_null($var) to (null === $var) for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik authored and Ocramius committed Apr 13, 2014
2 parents fb74ed3 + 474dcc0 commit 005c16e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/AutoDiscoverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function testDocumentNodes($element = null)
return;
}

if (is_null($element)) {
if (null === $element) {
$element = $this->dom->documentElement;
}

Expand Down
2 changes: 1 addition & 1 deletion test/WsdlTestHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function testDocumentNodes($element = null)
return;
}

if (is_null($element)) {
if (null === $element) {
$element = $this->wsdl->toDomDocument()->documentElement;
}

Expand Down

0 comments on commit 005c16e

Please sign in to comment.