diff --git a/en/orm/entities.rst b/en/orm/entities.rst index f2a257b987..88bbadc38d 100644 --- a/en/orm/entities.rst +++ b/en/orm/entities.rst @@ -571,7 +571,7 @@ field that should be exposed:: class User extends Entity { - protected $_virtual = ['full_name']; + protected array $_virtual = ['full_name']; } This list can be modified at runtime using the ``setVirtual()`` method::