We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 30-34 (lines=5) @@ | ||
| 27 | { |
|
| 28 | parent::checkRequirements($id, $tag); |
|
| 29 | ||
| 30 | if (isset($tag['method']) && !is_string($tag['method'])) { |
|
| 31 | throw new \InvalidArgumentException( |
|
| 32 | sprintf('Service tagged "%s" must have valid "method" argument.', $id) |
|
| 33 | ); |
|
| 34 | } |
|
| 35 | } |
|
| 36 | ||
| 37 | protected function getResolverServiceID() |
|
| @@ 89-93 (lines=5) @@ | ||
| 86 | ||
| 87 | protected function checkRequirements($id, array $tag) |
|
| 88 | { |
|
| 89 | if (isset($tag['alias']) && !is_string($tag['alias'])) { |
|
| 90 | throw new \InvalidArgumentException( |
|
| 91 | sprintf('Service tagged "%s" must have valid "alias" argument.', $id) |
|
| 92 | ); |
|
| 93 | } |
|
| 94 | } |
|
| 95 | ||
| 96 | abstract protected function getTagName(); |
|