@@ -41,10 +41,8 @@ class BazingaGeocoderExtension extends Extension
4141{
4242 /**
4343 * @param array<mixed, mixed> $configs
44- *
45- * @return void
4644 */
47- public function load (array $ configs , ContainerBuilder $ container )
45+ public function load (array $ configs , ContainerBuilder $ container ): void
4846 {
4947 $ processor = new Processor ();
5048 $ configuration = $ this ->getConfiguration ($ configs , $ container );
@@ -78,10 +76,8 @@ public function load(array $configs, ContainerBuilder $container)
7876
7977 /**
8078 * @param array<mixed, mixed> $config
81- *
82- * @return void
8379 */
84- private function loadProviders (ContainerBuilder $ container , array $ config )
80+ private function loadProviders (ContainerBuilder $ container , array $ config ): void
8581 {
8682 foreach ($ config ['providers ' ] as $ providerName => $ providerConfig ) {
8783 try {
@@ -181,7 +177,7 @@ public function configureProviderPlugins(ContainerBuilder $container, array $con
181177 ->addTag ('bazinga_geocoder.profiling_plugin ' );
182178 }
183179
184- return array_map (static fn (string $ id ) => new Reference ($ id ), $ plugins );
180+ return array_map (static fn (string $ id ): Reference => new Reference ($ id ), $ plugins );
185181 }
186182
187183 /**
@@ -213,9 +209,6 @@ private function findReferences(array $options): array
213209 return $ options ;
214210 }
215211
216- /**
217- * @param mixed $factoryClass
218- */
219212 private function implementsProviderFactory ($ factoryClass ): bool
220213 {
221214 if (false === $ interfaces = class_implements ($ factoryClass )) {
0 commit comments