Skip to content

Commit 23617a8

Browse files
committed
ActiveRow::_get() does not return a reference
1 parent 598f43f commit 23617a8

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
@@ -232,7 +232,7 @@ public function __set(string $column, mixed $value): void
232232
* @return ActiveRow|mixed
233233
* @throws Nette\MemberAccessException
234234
*/
235-
public function &__get(string $key): mixed
235+
public function __get(string $key): mixed
236236
{
237237
if ($this->accessColumn($key)) {
238238
return $this->data[$key];

0 commit comments

Comments
 (0)