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 7
7
8
8
use Embed \Request ;
9
9
use Embed \Utils ;
10
- use Embed \Url ;
11
10
use Embed \Providers \Api ;
12
11
13
12
class Google extends Webpage implements AdapterInterface
Original file line number Diff line number Diff line change 7
7
use Embed \Providers \ProviderInterface ;
8
8
9
9
/**
10
- * Provider to use the API of google
10
+ * Provider to use the API of google.
11
11
*/
12
12
class GoogleMaps extends Provider implements ProviderInterface
13
13
{
@@ -62,7 +62,7 @@ public function getCode()
62
62
->withPath ('maps/embed/v1/ ' .$ this ->mode )
63
63
->withQueryParameters ([
64
64
'q ' => $ this ->request ->getDirectoryPosition (2 ),
65
- 'key ' => $ this ->config ['key ' ]
65
+ 'key ' => $ this ->config ['key ' ],
66
66
])
67
67
);
68
68
@@ -72,7 +72,7 @@ public function getCode()
72
72
->withQueryParameters ([
73
73
'origin ' => $ this ->request ->getDirectoryPosition (2 ),
74
74
'destination ' => $ this ->request ->getDirectoryPosition (3 ),
75
- 'key ' => $ this ->config ['key ' ]
75
+ 'key ' => $ this ->config ['key ' ],
76
76
])
77
77
);
78
78
}
You can’t perform that action at this time.
0 commit comments