@@ -6,7 +6,7 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator
6
6
{
7
7
8
8
/**
9
- * @var mixed[] Data storage with lower-case keys
9
+ * @var mixed[] Data storage with lowercase keys.
10
10
* @see offsetSet()
11
11
* @see offsetExists()
12
12
* @see offsetUnset()
@@ -19,7 +19,7 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator
19
19
private $ data = array ();
20
20
21
21
/**
22
- * @var string[] Case-Sensitive keys.
22
+ * @var string[] Case-sensitive keys.
23
23
* @see offsetSet()
24
24
* @see offsetUnset()
25
25
* @see key()
@@ -29,11 +29,11 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator
29
29
/**
30
30
* Construct
31
31
*
32
- * Allow creating either an empty Array, or convert an existing Array to a
33
- * Case-Insensitive Array. ( Caution: Data may be lost when converting Case-
34
- * Sensitive Arrays to Case-Insensitive Arrays)
32
+ * Allow creating an empty array or converting an existing array to a
33
+ * case-insensitive array. Caution: Data may be lost when converting
34
+ * case-sensitive arrays to case-insensitive arrays.
35
35
*
36
- * @param mixed[] $initial (optional) Existing Array to convert.
36
+ * @param mixed[] $initial (optional) Existing array to convert.
37
37
*
38
38
* @return CaseInsensitiveArray
39
39
*
@@ -51,11 +51,11 @@ public function __construct(array $initial = null)
51
51
/**
52
52
* Offset Set
53
53
*
54
- * Set data at a specified Offset. Converts the offset to lower-case , and
55
- * stores the Case-Sensitive Offset and the Data at the lower-case indexes
56
- * in $this->keys and @this->data.
54
+ * Set data at a specified offset. Converts the offset to lowercase , and
55
+ * stores the case-sensitive offset and the data at the lowercase indexes in
56
+ * $this->keys and @this->data.
57
57
*
58
- * @see https://secure.php.net/manual/en/arrayaccess.offseteset .php
58
+ * @see https://secure.php.net/manual/en/arrayaccess.offsetset .php
59
59
*
60
60
* @param string $offset The offset to store the data at (case-insensitive).
61
61
* @param mixed $value The data to store at the specified offset.
@@ -78,8 +78,8 @@ public function offsetSet($offset, $value)
78
78
/**
79
79
* Offset Exists
80
80
*
81
- * Checks if the Offset exists in data storage. The index is looked up with
82
- * the lower-case version of the provided offset.
81
+ * Checks if the offset exists in data storage. The index is looked up with
82
+ * the lowercase version of the provided offset.
83
83
*
84
84
* @see https://secure.php.net/manual/en/arrayaccess.offsetexists.php
85
85
*
@@ -98,7 +98,7 @@ public function offsetExists($offset)
98
98
* Offset Unset
99
99
*
100
100
* Unsets the specified offset. Converts the provided offset to lowercase,
101
- * and unsets the Case-Sensitive Key , as well as the stored data.
101
+ * and unsets the case-sensitive key , as well as the stored data.
102
102
*
103
103
* @see https://secure.php.net/manual/en/arrayaccess.offsetunset.php
104
104
*
@@ -119,7 +119,7 @@ public function offsetUnset($offset)
119
119
* Offset Get
120
120
*
121
121
* Return the stored data at the provided offset. The offset is converted to
122
- * lowercase and the lookup is done on the Data store directly.
122
+ * lowercase and the lookup is done on the data store directly.
123
123
*
124
124
* @see https://secure.php.net/manual/en/arrayaccess.offsetget.php
125
125
*
@@ -142,7 +142,7 @@ public function offsetGet($offset)
142
142
*
143
143
* @param void
144
144
*
145
- * @return int The number of elements stored in the Array .
145
+ * @return int The number of elements stored in the array .
146
146
*
147
147
* @access public
148
148
*/
@@ -190,7 +190,7 @@ public function next()
190
190
*
191
191
* @param void
192
192
*
193
- * @return mixed Case-Sensitive key at current position.
193
+ * @return mixed Case-sensitive key at current position.
194
194
*
195
195
* @access public
196
196
*/
0 commit comments