From da672822d06d3c5440c252ea9465055eb7e06dbd Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Tue, 10 Nov 2015 22:32:05 -0800 Subject: [PATCH] Replace NULL with null --- src/Curl/CaseInsensitiveArray.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Curl/CaseInsensitiveArray.php b/src/Curl/CaseInsensitiveArray.php index a255813..956514c 100644 --- a/src/Curl/CaseInsensitiveArray.php +++ b/src/Curl/CaseInsensitiveArray.php @@ -39,9 +39,9 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator * * @access public */ - public function __construct(Array $initial = NULL) + public function __construct(Array $initial = null) { - if ($initial !== NULL) { + if ($initial !== null) { foreach ($initial as $key => $value) { $this->offsetSet($key, $value); } @@ -132,7 +132,7 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator public function offsetGet($offset) { $offsetlower = strtolower($offset); - return isset($this->data[$offsetlower]) ? $this->data[$offsetlower] : NULL; + return isset($this->data[$offsetlower]) ? $this->data[$offsetlower] : null; } /** @@ -213,7 +213,7 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator */ public function valid() { - return (bool) !(key($this->data) === NULL); + return (bool) !(key($this->data) === null); } /**