GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Composite::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
namespace Rb\Specification\Doctrine\Logic;
4
5
use Rb\Specification\Doctrine\Specification;
6
use Rb\Specification\Doctrine\SpecificationInterface;
7
8
/**
9
 * Class Composite.
10
 */
11
class Composite extends Specification
12
{
13
    /**
14
     * @param string                   $type
15
     * @param SpecificationInterface[] $children
16
     */
17
    public function __construct($type, array $children = [])
18
    {
19
        $this->setType($type)
20
            ->setChildren($children);
21
    }
22
}
23