Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
36 | private function initDebugIds(bool $created = false) |
||
37 | { |
||
38 | $this->debugIdAsString = (string)$this->id; |
||
39 | $this->debugObjectHash = spl_object_hash($this); |
||
40 | if (false === $created) { |
||
41 | return; |
||
42 | } |
||
43 | static $increment = 0; |
||
44 | $this->debugCreationIncrement = ++$increment; |
||
45 | } |
||
47 |