We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Overblog\GraphQLBundle\DependencyInjection\Compiler; |
4 | 4 | |
5 | -use GraphQL\Type\Definition\Type; |
|
6 | 5 | use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
7 | 6 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
8 | 7 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
@@ -37,6 +37,9 @@ discard block |
||
37 | 37 | return $item->get(); |
38 | 38 | } |
39 | 39 | |
40 | + /** |
|
41 | + * @param string $alias |
|
42 | + */ |
|
40 | 43 | private function string2Type($alias) |
41 | 44 | { |
42 | 45 | if (false !== ($type = $this->wrapTypeIfNeeded($alias))) { |
@@ -97,7 +100,7 @@ discard block |
||
97 | 100 | |
98 | 101 | /** |
99 | 102 | * @param string $alias |
100 | - * @param \Throwable $errorOrException |
|
103 | + * @param \Exception $errorOrException |
|
101 | 104 | * |
102 | 105 | * @return \RuntimeException |
103 | 106 | */ |