Conditions | 4 |
Paths | 8 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 0 |
1 | <?php |
||
20 | public function compile($statement, Context $context) |
||
21 | { |
||
22 | foreach ($statement->stmts as $stmt) { |
||
23 | \PHPSA\nodeVisitorFactory($stmt, $context); |
||
24 | } |
||
25 | |||
26 | foreach ($statement->catches as $stmt) { |
||
27 | \PHPSA\nodeVisitorFactory($stmt, $context); |
||
28 | } |
||
29 | |||
30 | if ($statement->finally !== null) { |
||
31 | \PHPSA\nodeVisitorFactory($statement->finally, $context); |
||
32 | } |
||
33 | } |
||
34 | } |
||
35 |