| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 24 | 23 | public function __construct(AbstractDefinition $parentDefinition = null) |
|
| 25 | { |
||
| 26 | 23 | parent::__construct($parentDefinition); |
|
| 27 | |||
| 28 | // For each new dependency classes set undefined reference as dependency has not resolved yet |
||
| 29 | // Undefined reference equivalent to null reference |
||
| 30 | 23 | $this->dependency = new UndefinedReference(); |
|
| 31 | 23 | } |
|
| 32 | |||
| 52 |