Issues (364)

src/Console/Migrations/MigrateInstallCommand.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace LaravelFreelancerNL\Aranguent\Console\Migrations;
6
7
use Illuminate\Database\Console\Migrations\InstallCommand as IlluminateInstallCommand;
8
use LaravelFreelancerNL\Aranguent\Console\Concerns\ArangoCommands;
9
use LaravelFreelancerNL\Aranguent\Migrations\DatabaseMigrationRepository;
10
11
class MigrateInstallCommand extends IlluminateInstallCommand
12
{
13
    use ArangoCommands;
14
15
    /**
16
     * The repository instance.
17
     *
18
     * @var DatabaseMigrationRepository
19
     */
20
    protected $repository;
21
22
23
    /**
24
     * Execute the console command.
25
     *
26
     * @return void
27
     */
28
    public function handle()
29
    {
30
        $database = $this->input->getOption('database');
31
32
        /** @phpstan-ignore-next-line */
33
        $this->repository->useArangodb = $this->connectionHasArangodbDriver($database);
0 ignored issues
show
The property useArangodb does not exist on LaravelFreelancerNL\Aran...baseMigrationRepository. Did you mean useArangoDB?
Loading history...
34
35
        parent::handle();
36
    }
37
}
38