We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -37,6 +37,9 @@ |
||
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))) { |
@@ -59,6 +59,9 @@ |
||
59 | 59 | GraphQLParser::mustOverrideConfig(); |
60 | 60 | } |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $fileName |
|
64 | + */ |
|
62 | 65 | private function assertContainerAddFileToResources($fileName) |
63 | 66 | { |
64 | 67 | $this->containerBuilder->expects($this->once()) |
@@ -269,6 +269,9 @@ discard block |
||
269 | 269 | ]; |
270 | 270 | } |
271 | 271 | |
272 | + /** |
|
273 | + * @param string $exceptionMessage |
|
274 | + */ |
|
272 | 275 | private function assertDecorateException(array $types, array $map, $exception = null, $exceptionMessage = null) |
273 | 276 | { |
274 | 277 | if ($exception) { |
@@ -289,7 +292,7 @@ discard block |
||
289 | 292 | /** |
290 | 293 | * @param array $types |
291 | 294 | * |
292 | - * @return \PHPUnit\Framework\MockObject\MockObject|Schema |
|
295 | + * @return Schema |
|
293 | 296 | */ |
294 | 297 | private function createSchemaMock(array $types = []) |
295 | 298 | { |
@@ -309,7 +312,7 @@ discard block |
||
309 | 312 | /** |
310 | 313 | * @param array $map |
311 | 314 | * |
312 | - * @return \PHPUnit\Framework\MockObject\MockObject|ResolverMap |
|
315 | + * @return ResolverMapInterface |
|
313 | 316 | */ |
314 | 317 | private function createResolverMapMock(array $map = []) |
315 | 318 | { |
@@ -29,6 +29,10 @@ |
||
29 | 29 | */ |
30 | 30 | abstract protected function getFunctions(); |
31 | 31 | |
32 | + /** |
|
33 | + * @param string $expression |
|
34 | + * @param \PHPUnit\Framework\MockObject\Matcher\InvokedCount $expects |
|
35 | + */ |
|
32 | 36 | protected function assertExpressionCompile($expression, $with, array $vars = [], $expects = null, $return = true, $assertMethod = 'assertTrue') |
33 | 37 | { |
34 | 38 | $code = $this->expressionLanguage->compile($expression, array_keys($vars)); |