@@ -54,12 +54,12 @@ |
||
| 54 | 54 | ]; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - protected function getRepositoryName(): array|string |
|
| 57 | + protected function getRepositoryName(): array | string |
|
| 58 | 58 | { |
| 59 | 59 | return Str::studly($this->argument('name')); |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | - private function getClassNameWithoutNamespace(): array|string |
|
| 62 | + private function getClassNameWithoutNamespace(): array | string |
|
| 63 | 63 | { |
| 64 | 64 | return class_basename($this->getRepositoryName()); |
| 65 | 65 | } |
@@ -55,12 +55,12 @@ |
||
| 55 | 55 | ]; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | - protected function getExceptionName(): array|string |
|
| 58 | + protected function getExceptionName(): array | string |
|
| 59 | 59 | { |
| 60 | 60 | return Str::studly($this->argument('name')); |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | - private function getClassNameWithoutNamespace(): array|string |
|
| 63 | + private function getClassNameWithoutNamespace(): array | string |
|
| 64 | 64 | { |
| 65 | 65 | return class_basename($this->getExceptionName()); |
| 66 | 66 | } |
@@ -52,12 +52,12 @@ |
||
| 52 | 52 | ]; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - protected function getEventServiceProviderName(): array|string |
|
| 55 | + protected function getEventServiceProviderName(): array | string |
|
| 56 | 56 | { |
| 57 | 57 | return Str::studly('EventServiceProvider'); |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - private function getClassNameWithoutNamespace(): array|string |
|
| 60 | + private function getClassNameWithoutNamespace(): array | string |
|
| 61 | 61 | { |
| 62 | 62 | return class_basename($this->getEventServiceProviderName()); |
| 63 | 63 | } |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | ->setComponent($this->components) |
| 44 | 44 | ->setForce($this->option('force')) |
| 45 | 45 | ->setType($this->getModuleType()) |
| 46 | - ->setActive(! $this->option('disabled')) |
|
| 46 | + ->setActive(!$this->option('disabled')) |
|
| 47 | 47 | ->setVendor($this->option('author-vendor')) |
| 48 | 48 | ->setAuthor($this->option('author-name'), $this->option('author-email')) |
| 49 | 49 | ->generate(); |
@@ -54,12 +54,12 @@ |
||
| 54 | 54 | ]; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - protected function getServiceName(): array|string |
|
| 57 | + protected function getServiceName(): array | string |
|
| 58 | 58 | { |
| 59 | 59 | return Str::studly($this->argument('name')); |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | - private function getClassNameWithoutNamespace(): array|string |
|
| 62 | + private function getClassNameWithoutNamespace(): array | string |
|
| 63 | 63 | { |
| 64 | 64 | return class_basename($this->getServiceName()); |
| 65 | 65 | } |
@@ -54,12 +54,12 @@ |
||
| 54 | 54 | ]; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - protected function getActionName(): array|string |
|
| 57 | + protected function getActionName(): array | string |
|
| 58 | 58 | { |
| 59 | 59 | return Str::studly($this->argument('name')); |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | - private function getClassNameWithoutNamespace(): array|string |
|
| 62 | + private function getClassNameWithoutNamespace(): array | string |
|
| 63 | 63 | { |
| 64 | 64 | return class_basename($this->getActionName()); |
| 65 | 65 | } |
@@ -53,12 +53,12 @@ |
||
| 53 | 53 | ]; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - protected function getScopeName(): array|string |
|
| 56 | + protected function getScopeName(): array | string |
|
| 57 | 57 | { |
| 58 | 58 | return Str::studly($this->argument('name')); |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - private function getClassNameWithoutNamespace(): array|string |
|
| 61 | + private function getClassNameWithoutNamespace(): array | string |
|
| 62 | 62 | { |
| 63 | 63 | return class_basename($this->getScopeName()); |
| 64 | 64 | } |
@@ -53,12 +53,12 @@ |
||
| 53 | 53 | ]; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - protected function getCastName(): array|string |
|
| 56 | + protected function getCastName(): array | string |
|
| 57 | 57 | { |
| 58 | 58 | return Str::studly($this->argument('name')); |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - private function getClassNameWithoutNamespace(): array|string |
|
| 61 | + private function getClassNameWithoutNamespace(): array | string |
|
| 62 | 62 | { |
| 63 | 63 | return class_basename($this->getCastName()); |
| 64 | 64 | } |
@@ -54,12 +54,12 @@ |
||
| 54 | 54 | ]; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - protected function getHelperName(): array|string |
|
| 57 | + protected function getHelperName(): array | string |
|
| 58 | 58 | { |
| 59 | 59 | return Str::studly($this->argument('name')); |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | - private function getClassNameWithoutNamespace(): array|string |
|
| 62 | + private function getClassNameWithoutNamespace(): array | string |
|
| 63 | 63 | { |
| 64 | 64 | return class_basename($this->getHelperName()); |
| 65 | 65 | } |