We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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); |
@@ -153,7 +153,6 @@ |
||
153 | 153 | /** |
154 | 154 | * Returns a list of custom exceptions mapped to error/warning classes. |
155 | 155 | * |
156 | - * @param array $config |
|
157 | 156 | * @return array Custom exception map, [exception => UserError/UserWarning]. |
158 | 157 | */ |
159 | 158 | private function buildExceptionMap(array $exceptionConfig) |