Skip to content

Commit fe4239d

Browse files
committed
Fix test
1 parent 77e432c commit fe4239d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/classes/array_access_005.phpt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Peoples implements ArrayAccess {
1414
return array_key_exists($this->person, $index);
1515
}
1616

17-
function offsetGet($index) {
17+
function &offsetGet($index) {
1818
return $this->person[$index];
1919
}
2020

0 commit comments

Comments
 (0)