Skip to content

Commit 7dade60

Browse files
committed
Fix CS
1 parent 131c7ca commit 7dade60

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

Doctrine/ORM/GeocoderListener.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ public function __construct(Provider $geocoder, DriverInterface $driver)
2525
{
2626
@trigger_error(sprintf('The class "%s" is deprecated and will be removed from a future version. Please remove it from your service definition.', self::class));
2727

28-
$locator = new ServiceLocator(array(
29-
'bazinga_geocoder.provider.' =>
30-
function () use ($geocoder) {
28+
$locator = new ServiceLocator([
29+
'bazinga_geocoder.provider.' => function () use ($geocoder) {
3130
return $geocoder;
32-
}
33-
));
31+
},
32+
]);
3433

3534
parent::__construct($locator, $driver);
3635
}

Mapping/Driver/ChainDriver.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@
1212

1313
namespace Bazinga\GeocoderBundle\Mapping\Driver;
1414

15-
use Bazinga\GeocoderBundle\Mapping\Annotations;
16-
use Bazinga\GeocoderBundle\Mapping\ClassMetadata;
17-
use Bazinga\GeocoderBundle\Mapping\Exception;
1815
use Bazinga\GeocoderBundle\Mapping\Exception\MappingException;
19-
use Doctrine\Common\Annotations\Reader;
2016

2117
/**
2218
* @author Pierre du Plessis <[email protected]>

0 commit comments

Comments
 (0)