File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 77
88use Embed \Request ;
99use Embed \Utils ;
10- use Embed \Url ;
1110use Embed \Providers \Api ;
1211
1312class Google extends Webpage implements AdapterInterface
Original file line number Diff line number Diff line change 77use Embed \Providers \ProviderInterface ;
88
99/**
10- * Provider to use the API of google
10+ * Provider to use the API of google.
1111 */
1212class 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 }
You can’t perform that action at this time.
0 commit comments