We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 5 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class QueryTaggedServiceMappingPass extends TaggedServiceMappingPass |
||
| 12 | { |
||
| 13 | protected function getTagName(): string |
||
| 16 | } |
||
| 17 | |||
| 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 | ); |
||
| 26 | } |
||
| 27 | } |
||
| 28 | |||
| 29 | protected function getResolverServiceID(): string |
||
| 32 | } |
||
| 33 | } |
||
| 34 |