We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -26,8 +26,7 @@ |
||
26 | 26 | public function process(ContainerBuilder $container) |
27 | 27 | { |
28 | 28 | version_compare(Kernel::VERSION, '3.3.0', '>=') ? |
29 | - $container->setAlias(PromiseAdapter::class, 'overblog_graphql.promise_adapter') : |
|
30 | - $container->findDefinition('overblog_graphql.promise_adapter')->setAutowiringTypes([PromiseAdapter::class]) |
|
29 | + $container->setAlias(PromiseAdapter::class, 'overblog_graphql.promise_adapter') : $container->findDefinition('overblog_graphql.promise_adapter')->setAutowiringTypes([PromiseAdapter::class]) |
|
31 | 30 | ; |
32 | 31 | } |
33 | 32 | } |
@@ -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 | */ |