Skip to content

Commit 3e480fc

Browse files
authored
Update ArrayObject.php
1 parent d76e574 commit 3e480fc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

ArrayObject.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,20 +70,20 @@ class Container extends \ArrayObject
7070
protected $data=array();
7171

7272
public function offsetExists ($offset)
73-
{
73+
{
7474
return isset($this->data[$offset]);
75-
}
75+
}
7676

7777
function offsetSet($offset, $value)
7878
{
7979
if (is_null($offset))
8080
{
81-
$this->data[] = $value;
82-
}
81+
$this->data[] = $value;
82+
}
8383
else
8484
{
85-
$this->data[$offset] = $value;
86-
}
85+
$this->data[$offset] = $value;
86+
}
8787
}
8888

8989
function &offsetGet($offset)

0 commit comments

Comments
 (0)