@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php namespace Savannabits\JetstreamInertiaGenerator\Generators\Traits; |
| 2 | 2 | |
| 3 | +use Illuminate\Support\Str; |
|
| 3 | 4 | use Savannabits\JetstreamInertiaGenerator\Generators\Controller; |
| 4 | 5 | use Savannabits\JetstreamInertiaGenerator\Generators\Model; |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 6 | |
| 7 | 7 | trait Names |
| 8 | 8 | { |
@@ -4,8 +4,6 @@ |
||
| 4 | 4 | namespace Savannabits\JetstreamInertiaGenerator\Helpers; |
| 5 | 5 | |
| 6 | 6 | |
| 7 | -use Illuminate\Contracts\Pagination\LengthAwarePaginator; |
|
| 8 | -use Illuminate\Support\Collection; |
|
| 9 | 7 | use Symfony\Component\HttpFoundation\HeaderBag; |
| 10 | 8 | |
| 11 | 9 | class ApiResponse |
@@ -1,9 +1,6 @@ |
||
| 1 | 1 | <?php namespace Savannabits\JetstreamInertiaGenerator\Generators\Traits; |
| 2 | 2 | |
| 3 | -use Doctrine\DBAL\DriverManager; |
|
| 4 | 3 | use Doctrine\DBAL\Schema\ForeignKeyConstraint; |
| 5 | -use Illuminate\Database\Capsule\Manager; |
|
| 6 | -use Illuminate\Database\DatabaseManager; |
|
| 7 | 4 | use Illuminate\Support\Collection; |
| 8 | 5 | use Illuminate\Support\Facades\Schema; |
| 9 | 6 | use Illuminate\Support\Str; |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | * Check if provided relation has a table |
| 41 | 41 | * |
| 42 | 42 | * @param $relationTable |
| 43 | - * @return mixed |
|
| 43 | + * @return boolean |
|
| 44 | 44 | */ |
| 45 | 45 | public function checkRelationTable($relationTable) |
| 46 | 46 | { |