| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | function processMethod(PhpObjectDecoratorMethodDefinition $methodDefinition): string |
||
| 12 | { |
||
| 13 | if ($methodDefinition->getReflector()->isConstructor()) { |
||
| 14 | return self::SKIP; |
||
| 15 | } |
||
| 16 | $parentCall = $methodDefinition->returnsValue() ? "return " . $methodDefinition->getParentCall() . ";" : $methodDefinition->getParentCall() . ";"; |
||
| 17 | |||
| 18 | return " |
||
| 19 | echo 'PROCESSED METHOD'; |
||
| 20 | $parentCall |
||
| 21 | "; |
||
| 23 | } |