We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | $expectedData = [ |
| 49 | 49 | 'user' => [ |
| 50 | 50 | 'friends' => [ |
| 51 | - 'totalCount' => 4, |
|
| 51 | + 'totalCount' => 4, |
|
| 52 | 52 | 'edges' => [ |
| 53 | 53 | [ |
| 54 | 54 | 'friendshipTime' => 'Yesterday', |
@@ -162,6 +162,9 @@ discard block |
||
| 162 | 162 | return $treeBuilder; |
| 163 | 163 | } |
| 164 | 164 | |
| 165 | + /** |
|
| 166 | + * @param string $name |
|
| 167 | + */ |
|
| 165 | 168 | private function addBuilderSection($name) |
| 166 | 169 | { |
| 167 | 170 | $builder = new TreeBuilder(); |
@@ -195,6 +198,9 @@ discard block |
||
| 195 | 198 | return $node; |
| 196 | 199 | } |
| 197 | 200 | |
| 201 | + /** |
|
| 202 | + * @param string $name |
|
| 203 | + */ |
|
| 198 | 204 | private function addSecurityQuerySection($name, $disabledValue) |
| 199 | 205 | { |
| 200 | 206 | $builder = new TreeBuilder(); |
@@ -61,6 +61,9 @@ discard block |
||
| 61 | 61 | self::$fieldBuilderClassMap[$name] = $fieldBuilderClass; |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | + /** |
|
| 65 | + * @param string $type |
|
| 66 | + */ |
|
| 64 | 67 | protected static function checkBuilderClass($builderClass, $type) |
| 65 | 68 | { |
| 66 | 69 | $interface = MappingInterface::class; |
@@ -123,6 +126,9 @@ discard block |
||
| 123 | 126 | throw new InvalidConfigurationException(sprintf('%s builder "%s" not found.', ucfirst($type), $name)); |
| 124 | 127 | } |
| 125 | 128 | |
| 129 | + /** |
|
| 130 | + * @param string $name |
|
| 131 | + */ |
|
| 126 | 132 | protected function outputFieldsSelection($name) |
| 127 | 133 | { |
| 128 | 134 | $builder = new TreeBuilder(); |
@@ -162,6 +162,9 @@ |
||
| 162 | 162 | ->end(); |
| 163 | 163 | } |
| 164 | 164 | |
| 165 | + /** |
|
| 166 | + * @param string $typeToTreat |
|
| 167 | + */ |
|
| 165 | 168 | private function relayNormalizer($typeToTreat, $definitionBuilderClass) |
| 166 | 169 | { |
| 167 | 170 | return function ($types) use ($typeToTreat, $definitionBuilderClass) { |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | ->thenInvalid( |
| 70 | 70 | sprintf( |
| 71 | 71 | 'Don\'t use internal config keys %s, replace it by "config" instead.', |
| 72 | - implode(', ', $configTypeKeys) |
|
| 72 | + implode(', ', $configTypeKeys) |
|
| 73 | 73 | ) |
| 74 | 74 | ) |
| 75 | 75 | ->end() |
@@ -20,6 +20,9 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | trait DIContainerMockTrait |
| 22 | 22 | { |
| 23 | + /** |
|
| 24 | + * @return null|\Symfony\Component\DependencyInjection\ContainerInterface |
|
| 25 | + */ |
|
| 23 | 26 | private function getDIContainerMock(array $services = [], array $parameters = []) |
| 24 | 27 | { |
| 25 | 28 | $container = $this->getMockBuilder(Container::class) |
@@ -123,6 +123,10 @@ |
||
| 123 | 123 | } |
| 124 | 124 | } |
| 125 | 125 | |
| 126 | + /** |
|
| 127 | + * @param string|null $className |
|
| 128 | + * @param boolean $withMethod |
|
| 129 | + */ |
|
| 126 | 130 | private function addDefinitionTagsFromAliasesMethod(Definition $definition, $className, $tagName, $withMethod) |
| 127 | 131 | { |
| 128 | 132 | // from getAliases |
@@ -88,6 +88,9 @@ |
||
| 88 | 88 | return $this; |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | + /** |
|
| 92 | + * @param string $name |
|
| 93 | + */ |
|
| 91 | 94 | public function addSchema($name, Schema $schema) |
| 92 | 95 | { |
| 93 | 96 | $this->schemas[$name] = $schema; |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @param Argument|array $args |
|
| 49 | + * @param Argument $args |
|
| 50 | 50 | * @param int|callable $total |
| 51 | 51 | * @param array $callableArgs |
| 52 | 52 | * |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | - * @param Argument|array $args |
|
| 74 | + * @param Argument $args |
|
| 75 | 75 | * |
| 76 | 76 | * @return Connection |
| 77 | 77 | */ |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | - * @param Argument|array $args |
|
| 104 | + * @param Argument $args |
|
| 105 | 105 | * @param int|callable $total |
| 106 | 106 | * @param array $callableArgs |
| 107 | 107 | * |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | |
| 85 | 85 | $resolverDefinition->addMethodCall( |
| 86 | 86 | 'addSolution', |
| 87 | - [$name, [new Reference('service_container'), 'get'], [$solutionID], $cleanOptions] |
|
| 87 | + [$name, [new Reference('service_container'), 'get'], [$solutionID], $cleanOptions] |
|
| 88 | 88 | ); |
| 89 | 89 | } |
| 90 | 90 | } |
@@ -99,5 +99,8 @@ |
||
| 99 | 99 | |
| 100 | 100 | abstract protected function getTagName(); |
| 101 | 101 | |
| 102 | + /** |
|
| 103 | + * @return string |
|
| 104 | + */ |
|
| 102 | 105 | abstract protected function getResolverServiceID(); |
| 103 | 106 | } |