Skip to content

Commit b2d9f68

Browse files
committed
Fixed coding standard violation, changed is_null to a compare with === null
1 parent 5c7a8e4 commit b2d9f68

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/HTTP/Adapter

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/HTTP/Adapter/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public function close()
236236
*/
237237
protected function _getResource()
238238
{
239-
if (is_null($this->_resource)) {
239+
if ($this->_resource === null) {
240240
$this->_resource = curl_init();
241241
}
242242
return $this->_resource;

0 commit comments

Comments
 (0)