File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class {repositoryName} extends Eloquent implements {repositoryInterfaceName}{
1212 * Don't remove or change $this->model variable name
1313 * @property Model|mixed $model;
1414 */
15- protected $model;
15+ protected {ModelName} $model;
1616
1717 public function __construct({ModelName} $model)
1818 {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class {serviceName} extends ServiceApi implements {serviceInterface}{
1111 * set title message api for CRUD
1212 * @param string $title
1313 */
14- protected $title = "";
14+ protected string $title = "";
1515 /**
1616 * uncomment this to override the default message
1717 * protected $create_message = "";
@@ -23,7 +23,7 @@ class {serviceName} extends ServiceApi implements {serviceInterface}{
2323 * don't change $this->mainRepository variable name
2424 * because used in extends service class
2525 */
26- protected $mainRepository;
26+ protected {repositoryInterfaceName} $mainRepository;
2727
2828 public function __construct({repositoryInterfaceName} $mainRepository)
2929 {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class {serviceName} extends Service implements {serviceInterface}{
1111 * don't change $this->mainRepository variable name
1212 * because used in extends service class
1313 */
14- protected $mainRepository;
14+ protected {repositoryInterfaceName} $mainRepository;
1515
1616 public function __construct({repositoryInterfaceName} $mainRepository)
1717 {
You can’t perform that action at this time.
0 commit comments