diff --git a/src/Generator/Stubs/model.stub b/src/Generator/Stubs/model.stub index 308e85ed2..3f719410f 100644 --- a/src/Generator/Stubs/model.stub +++ b/src/Generator/Stubs/model.stub @@ -9,5 +9,5 @@ class {{class-name}} extends ParentModel /** * A resource key to be used in the serialized responses. */ - protected string $resourceKey = '{{resource-key}}'; + protected $resourceKey = '{{resource-key}}'; }