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

Fixed PHPDocs and rearranged imports alphabetically.#79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mikebronner merged 1 commit intogeocoder-php:masterfromalexgmin:master
May 12, 2017
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletionsrc/Exceptions/InvalidDumperException.php
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,8 +11,8 @@

namespace Geocoder\Laravel\Exceptions;

use Geocoder\Exception\Exception;
use Exception as BaseException;
use Geocoder\Exception\Exception;

/**
* Exception to indicate an invalidly specified dumper identifier when calling
Expand Down
8 changes: 4 additions & 4 deletionssrc/Facades/Geocoder.php
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,10 +19,10 @@
class Geocoder extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'geocoder';
Expand Down
11 changes: 6 additions & 5 deletionssrc/ProviderAndDumperAggregator.php
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,14 +8,14 @@
* @license MIT License
*/

use Geocoder\ProviderAggregator;
use Geocoder\Geocoder;
use Geocoder\Dumper\GeoJson;
use Geocoder\Dumper\Gpx;
use Geocoder\Dumper\Kml;
use Geocoder\Dumper\Wkb;
use Geocoder\Dumper\Wkt;
use Geocoder\Dumper\GeoJson;
use Geocoder\Geocoder;
use Geocoder\Laravel\Exceptions\InvalidDumperException;
use Geocoder\ProviderAggregator;
use Illuminate\Support\Collection;

/**
Expand All@@ -37,8 +37,9 @@ public function all()
}

/**
* @paramstring
* @param$dumper
* @return Collection
* @throws InvalidDumperException
*/
public function dump($dumper)
{
Expand All@@ -50,7 +51,7 @@ public function dump($dumper)
'wkt' => Wkt::class,
]);

if (!$dumperClasses->has($dumper)) {
if (!$dumperClasses->has($dumper)) {
$errorMessage = implode('', [
"The dumper specified ('{$dumper}') is invalid. Valid dumpers ",
"are: geojson, gpx, kml, wkb, wkt.",
Expand Down
6 changes: 3 additions & 3 deletionssrc/Providers/GeocoderService.php
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,9 +12,9 @@
use Geocoder\Laravel\Facades\Geocoder;
use Geocoder\Laravel\ProviderAndDumperAggregator;
use Geocoder\Provider\Chain;
use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\Collection;
use Illuminate\Support\ServiceProvider;
use Illuminate\Foundation\AliasLoader;
use ReflectionClass;

/**
Expand DownExpand Up@@ -60,7 +60,7 @@ public function register()
/**
* Instantiate the configured Providers, as well as the Chain Provider.
*
* @param Collection
* @param Collection $providers
* @return array
*/
private function getProviders(Collection $providers)
Expand All@@ -85,7 +85,7 @@ private function getProviders(Collection $providers)
*
* @param array
* @param string
* @returnstring
* @returnarray
*/
private function getArguments(array $arguments, $provider)
{
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp