We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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(); |
@@ -64,7 +64,13 @@ |
||
64 | 64 | |
65 | 65 | abstract protected function getTagName(); |
66 | 66 | |
67 | + /** |
|
68 | + * @return string |
|
69 | + */ |
|
67 | 70 | abstract protected function getResolverServiceID(); |
68 | 71 | |
72 | + /** |
|
73 | + * @return string |
|
74 | + */ |
|
69 | 75 | abstract protected function getParameterName(); |
70 | 76 | } |
@@ -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) { |
@@ -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) |