Skip to content

Commit 774b76d

Browse files
committed
code style
1 parent c8a03fd commit 774b76d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Adapters/Google.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
use Embed\Request;
99
use Embed\Utils;
10-
use Embed\Url;
1110
use Embed\Providers\Api;
1211

1312
class Google extends Webpage implements AdapterInterface

src/Providers/Api/GoogleMaps.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Embed\Providers\ProviderInterface;
88

99
/**
10-
* Provider to use the API of google
10+
* Provider to use the API of google.
1111
*/
1212
class GoogleMaps extends Provider implements ProviderInterface
1313
{
@@ -62,7 +62,7 @@ public function getCode()
6262
->withPath('maps/embed/v1/'.$this->mode)
6363
->withQueryParameters([
6464
'q' => $this->request->getDirectoryPosition(2),
65-
'key' => $this->config['key']
65+
'key' => $this->config['key'],
6666
])
6767
);
6868

@@ -72,7 +72,7 @@ public function getCode()
7272
->withQueryParameters([
7373
'origin' => $this->request->getDirectoryPosition(2),
7474
'destination' => $this->request->getDirectoryPosition(3),
75-
'key' => $this->config['key']
75+
'key' => $this->config['key'],
7676
])
7777
);
7878
}

0 commit comments

Comments
 (0)