Skip to content

Commit 8588e50

Browse files
committed
ActiveRow::_get() does not return a reference
1 parent 19b7f2c commit 8588e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/Table/ActiveRow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public function __set(string $column, mixed $value): void
230230
* @return ActiveRow|mixed
231231
* @throws Nette\MemberAccessException
232232
*/
233-
public function &__get(string $key): mixed
233+
public function __get(string $key): mixed
234234
{
235235
if ($this->accessColumn($key)) {
236236
return $this->data[$key];

0 commit comments

Comments
 (0)