Skip to content

Commit 8eb5d11

Browse files
authored
Fix extension cannot replace non-defined argument
Fixing: ``` In Definition.php line 271: [Symfony\Component\DependencyInjection\Exception\OutOfBoundsException] The index "2" is not in the range [0, 1]. Exception trace: at /srv/app/vendor/symfony/dependency-injection/Definition.php:271 Symfony\Component\DependencyInjection\Definition->replaceArgument() at /srv/app/vendor/willdurand/geocoder-bundle/DependencyInjection/BazingaGeocoderExtension.php:59 ```
1 parent 5bfd493 commit 8eb5d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/config/services.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121

2222
Bazinga\GeocoderBundle\Plugin\FakeIpPlugin:
2323
class: Bazinga\GeocoderBundle\Plugin\FakeIpPlugin
24-
arguments: ['127.0.0.1', ~]
24+
arguments: ['127.0.0.1', ~, false]
2525

2626
Bazinga\GeocoderBundle\Command\GeocodeCommand:
2727
arguments: ['@Geocoder\ProviderAggregator']

0 commit comments

Comments
 (0)