Skip to content

Commit 9438542

Browse files
committed
ActiveRow::_get() does not return a reference
1 parent 05b0176 commit 9438542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/Table/ActiveRow.php

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

0 commit comments

Comments
 (0)