Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5081daa

Browse files
committed
Merge branch 'master' of github.com:geocoder-php/GeocoderLaravel
2 parents2238063 +4aab2bb commit5081daa

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

‎src/Exceptions/InvalidDumperException.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespaceGeocoder\Laravel\Exceptions;
1313

14-
useGeocoder\Exception\Exception;
1514
useExceptionasBaseException;
15+
useGeocoder\Exception\Exception;
1616

1717
/**
1818
* Exception to indicate an invalidly specified dumper identifier when calling

‎src/Facades/Geocoder.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
class Geocoderextends Facade
2020
{
2121
/**
22-
* Get the registered name of the component.
23-
*
24-
* @return string
25-
*/
22+
* Get the registered name of the component.
23+
*
24+
* @return string
25+
*/
2626
protectedstaticfunctiongetFacadeAccessor()
2727
{
2828
return'geocoder';

‎src/ProviderAndDumperAggregator.php‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
* @license MIT License
99
*/
1010

11-
useGeocoder\ProviderAggregator;
12-
useGeocoder\Geocoder;
11+
useGeocoder\Dumper\GeoJson;
1312
useGeocoder\Dumper\Gpx;
1413
useGeocoder\Dumper\Kml;
1514
useGeocoder\Dumper\Wkb;
1615
useGeocoder\Dumper\Wkt;
17-
useGeocoder\Dumper\GeoJson;
16+
useGeocoder\Geocoder;
1817
useGeocoder\Laravel\Exceptions\InvalidDumperException;
18+
useGeocoder\ProviderAggregator;
1919
useIlluminate\Support\Collection;
2020

2121
/**
@@ -37,8 +37,9 @@ public function all()
3737
}
3838

3939
/**
40-
* @paramstring
40+
* @param$dumper
4141
* @return Collection
42+
* @throws InvalidDumperException
4243
*/
4344
publicfunctiondump($dumper)
4445
{
@@ -50,7 +51,7 @@ public function dump($dumper)
5051
'wkt' => Wkt::class,
5152
]);
5253

53-
if (!$dumperClasses->has($dumper)) {
54+
if (!$dumperClasses->has($dumper)) {
5455
$errorMessage =implode('', [
5556
"The dumper specified ('{$dumper}') is invalid. Valid dumpers",
5657
"are: geojson, gpx, kml, wkb, wkt.",

‎src/Providers/GeocoderService.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
useGeocoder\Laravel\Facades\Geocoder;
1313
useGeocoder\Laravel\ProviderAndDumperAggregator;
1414
useGeocoder\Provider\Chain;
15+
useIlluminate\Foundation\AliasLoader;
1516
useIlluminate\Support\Collection;
1617
useIlluminate\Support\ServiceProvider;
17-
useIlluminate\Foundation\AliasLoader;
1818
useReflectionClass;
1919

2020
/**
@@ -60,7 +60,7 @@ public function register()
6060
/**
6161
* Instantiate the configured Providers, as well as the Chain Provider.
6262
*
63-
* @param Collection
63+
* @param Collection $providers
6464
* @return array
6565
*/
6666
privatefunctiongetProviders(Collection$providers)
@@ -85,7 +85,7 @@ private function getProviders(Collection $providers)
8585
*
8686
* @param array
8787
* @param string
88-
* @returnstring
88+
* @returnarray
8989
*/
9090
privatefunctiongetArguments(array$arguments,$provider)
9191
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp