We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 3 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | protected function checkRequirements(string $id, array $tag): void |
||
19 | { |
||
20 | parent::checkRequirements($id, $tag); |
||
21 | |||
22 | if (isset($tag['method']) && !is_string($tag['method'])) { |
||
23 | throw new InvalidArgumentException( |
||
24 | sprintf('Service tagged "%s" must have valid "method" argument.', $id) |
||
25 | ); |
||
34 |