Skip to content

Commit 2f4dd1c

Browse files
authored
Merge pull request #8022 from wsergent/patch-1
Update entities.rst
2 parents fbe5b68 + 2440569 commit 2f4dd1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/orm/entities.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ field that should be exposed::
571571

572572
class User extends Entity
573573
{
574-
protected $_virtual = ['full_name'];
574+
protected array $_virtual = ['full_name'];
575575
}
576576

577577
This list can be modified at runtime using the ``setVirtual()`` method::

0 commit comments

Comments
 (0)