Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2.0078 |
Changes | 0 |
1 | <?php |
||
32 | 30 | public function __construct(array $config = [], Environment $environment = null) |
|
33 | { |
||
34 | 30 | if ($environment === null) { |
|
35 | 30 | $environment = Environment::createCommonMarkEnvironment(); |
|
36 | 30 | } |
|
37 | 30 | $environment->addExtension(new MarkuaExtension()); |
|
38 | 30 | parent::__construct($config, $environment); |
|
39 | 30 | } |
|
40 | } |
||
41 |