@@ -89,13 +89,13 @@ discard block |
||
89 | 89 | */ |
90 | 90 | public function &getObject($offset) |
91 | 91 | { |
92 | - $get[ $offset ] = null; |
|
92 | + $get[$offset] = null; |
|
93 | 93 | |
94 | 94 | if ($this->__isset($offset)) { |
95 | - return $this->registry[ $offset ]; |
|
95 | + return $this->registry[$offset]; |
|
96 | 96 | } |
97 | 97 | |
98 | - return $get[ $offset ]; |
|
98 | + return $get[$offset]; |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | // ------------------------------------------------------------------------ |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | */ |
129 | 129 | public function exists($offset) |
130 | 130 | { |
131 | - return (bool)isset($this->registry[ $offset ]); |
|
131 | + return (bool)isset($this->registry[$offset]); |
|
132 | 132 | } |
133 | 133 | |
134 | 134 | // ------------------------------------------------------------------------ |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | } |
160 | 160 | |
161 | 161 | if ( ! $this->__isset($offset)) { |
162 | - $this->registry[ $offset ] = $object; |
|
162 | + $this->registry[$offset] = $object; |
|
163 | 163 | } |
164 | 164 | } |
165 | 165 | } |
@@ -195,11 +195,11 @@ discard block |
||
195 | 195 | public function remove($offset) |
196 | 196 | { |
197 | 197 | if ($this->__isset($offset)) { |
198 | - if (method_exists($this->registry[ $offset ], '__destruct')) { |
|
199 | - $this->registry[ $offset ]->__destruct(); |
|
198 | + if (method_exists($this->registry[$offset], '__destruct')) { |
|
199 | + $this->registry[$offset]->__destruct(); |
|
200 | 200 | } |
201 | 201 | |
202 | - unset($this->registry[ $offset ]); |
|
202 | + unset($this->registry[$offset]); |
|
203 | 203 | } |
204 | 204 | } |
205 | 205 | |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | if (method_exists($object, '__destruct')) { |
219 | 219 | $object->__destruct(); |
220 | 220 | } |
221 | - unset($this->registry[ $offset ]); |
|
221 | + unset($this->registry[$offset]); |
|
222 | 222 | } |
223 | 223 | } |
224 | 224 | |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | final public function getObjectHash($offset) |
237 | 237 | { |
238 | 238 | if ($this->__isset($offset)) { |
239 | - return spl_object_hash($this->registry[ $offset ]); |
|
239 | + return spl_object_hash($this->registry[$offset]); |
|
240 | 240 | } |
241 | 241 | |
242 | 242 | return false; |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | final public function getObjectId($offset) |
257 | 257 | { |
258 | 258 | if ($this->__isset($offset)) { |
259 | - return spl_object_id($this->registry[ $offset ]); |
|
259 | + return spl_object_id($this->registry[$offset]); |
|
260 | 260 | } |
261 | 261 | |
262 | 262 | return false; |
@@ -998,7 +998,7 @@ |
||
998 | 998 | * |
999 | 999 | * @var int |
1000 | 1000 | */ |
1001 | - const STATUS_BANDWIDTH_LIMIT_EXCEEDED = 509; // Apache bw/limited extension |
|
1001 | + const STATUS_BANDWIDTH_LIMIT_EXCEEDED = 509; // Apache bw/limited extension |
|
1002 | 1002 | |
1003 | 1003 | /** |
1004 | 1004 | * ResponseStatusInterface::STATUS_NOT_EXTENDED |