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

Commit

Permalink
Merge branch 'cs/zendframework/zendframework#6129-is_null-removal'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Apr 13, 2014
3 parents fb74ed3 + 474dcc0 + 005c16e commit 0deef0a
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 0deef0a

Please sign in to comment.