Skip to content

Commit 3e0e969

Browse files
authored
Update DataObj.php
1 parent 97c090b commit 3e0e969

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DataObj.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function set(string $name, mixed $value): mixed
6262
*/
6363
public function get(string $name, mixed $default = null): mixed
6464
{
65-
return $this->offsetExists($name) ? $this->offsetGet($name) : $default ;
65+
return $this->offsetExists($name) ? $this->data[$name] : $default ;
6666
}
6767

6868
/**

0 commit comments

Comments
 (0)