Passed
Push — master ( 7d76d6...1230fe )
by Caen
03:19 queued 13s
created

ConsoleKernel   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 9
Bugs 0 Features 0
Metric Value
eloc 4
c 9
b 0
f 0
dl 0
loc 12
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A bootstrappers() 0 7 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Hyde\Foundation;
6
7
use LaravelZero\Framework\Kernel;
8
use Hyde\Foundation\Services\LoadYamlConfiguration;
9
10
class ConsoleKernel extends Kernel
11
{
12
    /**
13
     * Get the bootstrap classes for the application.
14
     */
15
    protected function bootstrappers(): array
16
    {
17
        $bootstrappers = $this->bootstrappers;
18
19
        array_splice($bootstrappers, 5, 0, LoadYamlConfiguration::class);
20
21
        return $bootstrappers;
22
    }
23
}
24