| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 6 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 60 | private function getReplacingAttributes(array $variables = [])  | 
            ||
| 61 |     { | 
            ||
| 62 | $attributes = $this->getVariables();  | 
            ||
| 63 | |||
| 64 | $values = [];  | 
            ||
| 65 | |||
| 66 |         foreach ($variables as $variable) { | 
            ||
| 67 | $values[self::VARIABLE_OPENING . $variable . self::VARIABLE_CLOSING] = ($attributes[$variable] ?? $variable);  | 
            ||
| 68 | }  | 
            ||
| 69 | |||
| 70 | return $values;  | 
            ||
| 71 | }  | 
            ||
| 72 | |||
| 86 |