Conditions | 3 |
Paths | 3 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
93 | public function checking() : void |
||
94 | { |
||
95 | $waits = [ |
||
96 | 'v-named' => $this->named(), |
||
97 | 'v-group' => $this->group(), |
||
98 | ]; |
||
99 | |||
100 | /** |
||
101 | * @var VWaits $wait |
||
102 | */ |
||
103 | |||
104 | foreach ($waits as $type => $wait) { |
||
105 | if (!$wait->resolved()) { |
||
106 | throw new IncompleteCoordinationException( |
||
107 | sprintf('%s -> %s', $type, implode(',', $wait->incomplete())) |
||
108 | ); |
||
113 |