Completed
Push — master ( 3302df...da5155 )
by Maxim
02:15
created

AbstractCube::getMigrations()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace WebComplete\core\cube;
4
5
use WebComplete\core\utils\container\ContainerInterface;
6
7
abstract class AbstractCube
8
{
9
10
    /**
11
     * @param $definitions
12
     *
13
     * @return void
14
     */
15
    abstract public function registerDependencies(array &$definitions);
16
17
    /**
18
     * @return array [sort => migration class]
19
     */
20
    public function getMigrations(): array
21
    {
22
        return [];
23
    }
24
25
    /**
26
     */
27
    public function bootstrap(ContainerInterface $container)
0 ignored issues
show
Unused Code introduced by
The parameter $container is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

27
    public function bootstrap(/** @scrutinizer ignore-unused */ ContainerInterface $container)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
28
    {
29
    }
30
}
31