Skip to content

Commit

Permalink
Update entity.twig
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark authored Jan 3, 2024
1 parent 31fffe7 commit b43505c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/bake/Model/entity.twig
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class {{ name }} extends Entity
*
* @var array<string, bool>
*/
protected $_accessible = [{{ Bake.stringifyList(accessible, {'quotes': false})|raw }}];
protected array $_accessible = [{{ Bake.stringifyList(accessible, {'quotes': false})|raw }}];
{% endif %}
{% if accessible and hidden %}
Expand All @@ -54,6 +54,6 @@ class {{ name }} extends Entity
*
* @var array<string>
*/
protected $_hidden = [{{ Bake.stringifyList(hidden)|raw }}];
protected array $_hidden = [{{ Bake.stringifyList(hidden)|raw }}];
{% endif %}
}

0 comments on commit b43505c

Please sign in to comment.