@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | require_once __DIR__.'/../../vendor/autoload.php'; |
16 | 16 | |
17 | -$client = new PlaceClient(new Client(), new JsonDecoder(), 'YOUR_API_KEY_HERE', new PlaceHydrator()); |
|
17 | +$client = new PlaceClient(new Client(), new JsonDecoder(), 'YOUR_API_KEY_HERE', new PlaceHydrator()); |
|
18 | 18 | $client->setLogger(new EchoLogger()); |
19 | 19 | $serializer = new PlaceSerializer(); |
20 | 20 |
@@ -28,7 +28,6 @@ discard block |
||
28 | 28 | * @param float|null $latitude |
29 | 29 | * @param float|null $longitude |
30 | 30 | * @param int|float|null $radius |
31 | - * @param string|null $name |
|
32 | 31 | */ |
33 | 32 | public function __construct($query, $latitude = null, $longitude = null, $radius = null) |
34 | 33 | { |
@@ -52,7 +51,7 @@ discard block |
||
52 | 51 | } |
53 | 52 | |
54 | 53 | /** |
55 | - * @return Location|null |
|
54 | + * @return Location |
|
56 | 55 | */ |
57 | 56 | public function getLocation() |
58 | 57 | { |
@@ -60,7 +59,7 @@ discard block |
||
60 | 59 | } |
61 | 60 | |
62 | 61 | /** |
63 | - * @return Radius|null |
|
62 | + * @return Radius |
|
64 | 63 | */ |
65 | 64 | public function getRadius() |
66 | 65 | { |