| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | 4 | public function transformArgument(DefinitionCall $definitionCall, $argumentIndex, $argumentValue) |
|
| 48 | { |
||
| 49 | 4 | $placeholder = $this->placeholderBag->all(); |
|
| 50 | 4 | if (isset($placeholder[$argumentValue])) { |
|
| 51 | 4 | return $placeholder[$argumentValue]; |
|
| 52 | } |
||
| 53 | |||
| 54 | 4 | return $argumentValue; |
|
| 55 | } |
||
| 56 | } |
||
| 57 |