We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -49,7 +49,7 @@ |
||
49 | 49 | $expectedData = [ |
50 | 50 | 'user' => [ |
51 | 51 | 'friends' => [ |
52 | - 'totalCount' => 4, |
|
52 | + 'totalCount' => 4, |
|
53 | 53 | 'edges' => [ |
54 | 54 | [ |
55 | 55 | 'friendshipTime' => 'Yesterday', |
@@ -13,6 +13,9 @@ |
||
13 | 13 | |
14 | 14 | trait DIContainerMockTrait |
15 | 15 | { |
16 | + /** |
|
17 | + * @return null|\Symfony\Component\DependencyInjection\ContainerInterface |
|
18 | + */ |
|
16 | 19 | private function getDIContainerMock(array $services = [], array $parameters = []) |
17 | 20 | { |
18 | 21 | $container = $this->getMock('Symfony\\Component\\DependencyInjection\\Container', ['get', 'getParameter', 'has']); |
@@ -51,6 +51,9 @@ discard block |
||
51 | 51 | self::$fieldBuilderClassMap[$name] = $fieldBuilderClass; |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $type |
|
56 | + */ |
|
54 | 57 | protected static function checkBuilderClass($builderClass, $type) |
55 | 58 | { |
56 | 59 | $interface = 'Overblog\\GraphQLBundle\\Definition\\Builder\\MappingInterface'; |
@@ -113,6 +116,9 @@ discard block |
||
113 | 116 | } |
114 | 117 | } |
115 | 118 | |
119 | + /** |
|
120 | + * @param string $name |
|
121 | + */ |
|
116 | 122 | protected function outputFieldsSelection($name, $withAccess = false) |
117 | 123 | { |
118 | 124 | $builder = new TreeBuilder(); |
@@ -152,6 +152,10 @@ |
||
152 | 152 | ->end(); |
153 | 153 | } |
154 | 154 | |
155 | + /** |
|
156 | + * @param string $typeToTreat |
|
157 | + * @param string $definitionBuilderClass |
|
158 | + */ |
|
155 | 159 | private function relayNormalizer($typeToTreat, $definitionBuilderClass) |
156 | 160 | { |
157 | 161 | return function ($types) use ($typeToTreat, $definitionBuilderClass) { |
@@ -113,6 +113,9 @@ |
||
113 | 113 | ); |
114 | 114 | } |
115 | 115 | |
116 | + /** |
|
117 | + * @param string $expression |
|
118 | + */ |
|
116 | 119 | private function assertExpressionCompile($expression, $with, array $expressionValues = [], $expects = null, $return = true, $assertMethod = 'assertTrue') |
117 | 120 | { |
118 | 121 | $authChecker = $this->getAuthorizationCheckerIsGrantedWithExpectation($with, $expects, $return); |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
25 | - * @param Argument|array $args |
|
25 | + * @param Argument $args |
|
26 | 26 | * @param int|callable $total |
27 | 27 | * |
28 | 28 | * @return Connection |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @param Argument|array $args |
|
45 | + * @param Argument $args |
|
46 | 46 | * |
47 | 47 | * @return Connection |
48 | 48 | */ |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
65 | - * @param Argument|array $args |
|
65 | + * @param Argument $args |
|
66 | 66 | * @param int|callable $total |
67 | 67 | * |
68 | 68 | * @return Connection |