Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand committed Apr 20, 2015
1 parent 9861137 commit 7c6928a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Geocoder/Model/AddressFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
final class AddressFactory
{
/**
* @param array $results
* @param array $results
* @return \Geocoder\Model\AddressCollection
*/
public function createFromArray(array $results)
Expand Down
2 changes: 1 addition & 1 deletion src/Geocoder/Model/AdminLevel.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class AdminLevel
private $code;

/**
* @param int $level
* @param int $level
* @param string $name
* @param string $code
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Geocoder/Model/AdminLevelCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function all()
}

/**
* @param integer $level
* @param integer $level
* @throws \OutOfBoundsException
*/
private function checkLevel($level)
Expand Down
2 changes: 1 addition & 1 deletion src/Geocoder/Provider/BingMaps.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private function executeQuery($query)
$city = property_exists($item->address, 'locality') ? (string) $item->address->locality: '';
$country = property_exists($item->address, 'countryRegion') ? (string) $item->address->countryRegion: '';
$countryCode = property_exists($item->address, 'countryRegionIso2') ? (string) $item->address->countryRegionIso2: '';

$adminLevels = [];

foreach (['adminDistrict', 'adminDistrict2'] as $i => $property) {
Expand Down
2 changes: 1 addition & 1 deletion src/Geocoder/Provider/Chain.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function geocode($address)
{
$exceptions = [];
foreach ($this->providers as $provider) {
if ($provider instanceof LocaleAwareProvider && $this->getLocale() !== null){
if ($provider instanceof LocaleAwareProvider && $this->getLocale() !== null) {
$provider = clone $provider;
$provider->setLocale($this->getLocale());
}
Expand Down

0 comments on commit 7c6928a

Please sign in to comment.