@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\Enum\Laravel\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Illuminate\Console\GeneratorCommand; |
| 7 | -use Symfony\Component\Console\Input\InputOption; |
|
| 6 | +use Illuminate\Support\Str; |
|
| 8 | 7 | use Symfony\Component\Console\Input\InputArgument; |
| 8 | +use Symfony\Component\Console\Input\InputOption; |
|
| 9 | 9 | |
| 10 | 10 | class MakeEnum extends GeneratorCommand |
| 11 | 11 | { |
@@ -159,7 +159,7 @@ |
||
| 159 | 159 | * @param string $key |
| 160 | 160 | * @param int|string|null $value |
| 161 | 161 | * |
| 162 | - * @return \Spatie\Enum\Enumerable|int|string|null |
|
| 162 | + * @return Enumerable |
|
| 163 | 163 | */ |
| 164 | 164 | protected function getEnumAttribute(string $key, $value) |
| 165 | 165 | { |