We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | final class Formatter |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var callable |
||
| 24 | */ |
||
| 25 | private $translator; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var ParameterStringifier |
||
| 29 | */ |
||
| 30 | private $parameterStringifier; |
||
| 31 | |||
| 32 | public function __construct(callable $translator, ParameterStringifier $parameterStringifier) |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param mixed $input |
||
| 40 | * @param mixed[] $parameters |
||
| 41 | */ |
||
| 42 | public function format(string $template, $input, array $parameters): string |
||
| 59 |