Skip to content

Commit 9e4eacc

Browse files
committed
Clean up
1 parent 6cd12b6 commit 9e4eacc

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/Curl/CaseInsensitiveArray.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator
66
{
77

88
/**
9-
* @var mixed[] Data storage with lower-case keys
9+
* @var mixed[] Data storage with lowercase keys.
1010
* @see offsetSet()
1111
* @see offsetExists()
1212
* @see offsetUnset()
@@ -19,7 +19,7 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator
1919
private $data = array();
2020

2121
/**
22-
* @var string[] Case-Sensitive keys.
22+
* @var string[] Case-sensitive keys.
2323
* @see offsetSet()
2424
* @see offsetUnset()
2525
* @see key()
@@ -29,11 +29,11 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator
2929
/**
3030
* Construct
3131
*
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.
3535
*
36-
* @param mixed[] $initial (optional) Existing Array to convert.
36+
* @param mixed[] $initial (optional) Existing array to convert.
3737
*
3838
* @return CaseInsensitiveArray
3939
*
@@ -51,11 +51,11 @@ public function __construct(array $initial = null)
5151
/**
5252
* Offset Set
5353
*
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.
5757
*
58-
* @see https://secure.php.net/manual/en/arrayaccess.offseteset.php
58+
* @see https://secure.php.net/manual/en/arrayaccess.offsetset.php
5959
*
6060
* @param string $offset The offset to store the data at (case-insensitive).
6161
* @param mixed $value The data to store at the specified offset.
@@ -78,8 +78,8 @@ public function offsetSet($offset, $value)
7878
/**
7979
* Offset Exists
8080
*
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.
8383
*
8484
* @see https://secure.php.net/manual/en/arrayaccess.offsetexists.php
8585
*
@@ -98,7 +98,7 @@ public function offsetExists($offset)
9898
* Offset Unset
9999
*
100100
* 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.
102102
*
103103
* @see https://secure.php.net/manual/en/arrayaccess.offsetunset.php
104104
*
@@ -119,7 +119,7 @@ public function offsetUnset($offset)
119119
* Offset Get
120120
*
121121
* 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.
123123
*
124124
* @see https://secure.php.net/manual/en/arrayaccess.offsetget.php
125125
*
@@ -142,7 +142,7 @@ public function offsetGet($offset)
142142
*
143143
* @param void
144144
*
145-
* @return int The number of elements stored in the Array.
145+
* @return int The number of elements stored in the array.
146146
*
147147
* @access public
148148
*/
@@ -190,7 +190,7 @@ public function next()
190190
*
191191
* @param void
192192
*
193-
* @return mixed Case-Sensitive key at current position.
193+
* @return mixed Case-sensitive key at current position.
194194
*
195195
* @access public
196196
*/

0 commit comments

Comments
 (0)