@@ -22,22 +22,22 @@ |
||
22 | 22 | class LatLngBounds extends AbstractObject |
23 | 23 | { |
24 | 24 | |
25 | - /** |
|
26 | - * @var LatLng |
|
27 | - */ |
|
28 | - protected $northeast = null; |
|
25 | + /** |
|
26 | + * @var LatLng |
|
27 | + */ |
|
28 | + protected $northeast = null; |
|
29 | 29 | |
30 | - /** |
|
31 | - * @var LatLng |
|
32 | - */ |
|
33 | - protected $southwest = null; |
|
30 | + /** |
|
31 | + * @var LatLng |
|
32 | + */ |
|
33 | + protected $southwest = null; |
|
34 | 34 | |
35 | - /** |
|
36 | - * @var array |
|
37 | - */ |
|
38 | - protected $typeCheck = [ |
|
39 | - LatLngBoundsFields::NORTHEAST => LatLng::class, |
|
40 | - LatLngBoundsFields::SOUTHWEST => LatLng::class |
|
41 | - ]; |
|
35 | + /** |
|
36 | + * @var array |
|
37 | + */ |
|
38 | + protected $typeCheck = [ |
|
39 | + LatLngBoundsFields::NORTHEAST => LatLng::class, |
|
40 | + LatLngBoundsFields::SOUTHWEST => LatLng::class |
|
41 | + ]; |
|
42 | 42 | |
43 | 43 | } |
44 | 44 | \ No newline at end of file |
@@ -21,14 +21,14 @@ |
||
21 | 21 | class Address extends AbstractCollection |
22 | 22 | { |
23 | 23 | |
24 | - /** |
|
25 | - * @param $item |
|
26 | - * |
|
27 | - * @return AddressComponent |
|
28 | - */ |
|
29 | - protected function parseItem($item) |
|
30 | - { |
|
24 | + /** |
|
25 | + * @param $item |
|
26 | + * |
|
27 | + * @return AddressComponent |
|
28 | + */ |
|
29 | + protected function parseItem($item) |
|
30 | + { |
|
31 | 31 | |
32 | - return ($item instanceof AddressComponent) ? $item : new AddressComponent($item); |
|
33 | - } |
|
32 | + return ($item instanceof AddressComponent) ? $item : new AddressComponent($item); |
|
33 | + } |
|
34 | 34 | } |
35 | 35 | \ No newline at end of file |
@@ -16,33 +16,33 @@ |
||
16 | 16 | class Photo extends AbstractObject |
17 | 17 | { |
18 | 18 | |
19 | - /** |
|
20 | - * @var null|int |
|
21 | - */ |
|
22 | - protected $height = null; |
|
23 | - |
|
24 | - /** |
|
25 | - * @var null|int |
|
26 | - */ |
|
27 | - protected $width = null; |
|
28 | - |
|
29 | - /** |
|
30 | - * @var null|string |
|
31 | - */ |
|
32 | - protected $photo_reference = null; |
|
33 | - |
|
34 | - /** |
|
35 | - * @var null|string |
|
36 | - */ |
|
37 | - protected $html_attributions = null; |
|
38 | - |
|
39 | - /** |
|
40 | - * @var array |
|
41 | - */ |
|
42 | - protected $typeCheck = [ |
|
43 | - PhotoFields::HEIGHT => 'int', |
|
44 | - PhotoFields::WIDTH => 'int', |
|
45 | - PhotoFields::PHOTO_REFERENCE => 'string', |
|
46 | - PhotoFields::HTML_ATTRIBUTIONS => 'array', |
|
47 | - ]; |
|
19 | + /** |
|
20 | + * @var null|int |
|
21 | + */ |
|
22 | + protected $height = null; |
|
23 | + |
|
24 | + /** |
|
25 | + * @var null|int |
|
26 | + */ |
|
27 | + protected $width = null; |
|
28 | + |
|
29 | + /** |
|
30 | + * @var null|string |
|
31 | + */ |
|
32 | + protected $photo_reference = null; |
|
33 | + |
|
34 | + /** |
|
35 | + * @var null|string |
|
36 | + */ |
|
37 | + protected $html_attributions = null; |
|
38 | + |
|
39 | + /** |
|
40 | + * @var array |
|
41 | + */ |
|
42 | + protected $typeCheck = [ |
|
43 | + PhotoFields::HEIGHT => 'int', |
|
44 | + PhotoFields::WIDTH => 'int', |
|
45 | + PhotoFields::PHOTO_REFERENCE => 'string', |
|
46 | + PhotoFields::HTML_ATTRIBUTIONS => 'array', |
|
47 | + ]; |
|
48 | 48 | } |
49 | 49 | \ No newline at end of file |
@@ -26,27 +26,27 @@ |
||
26 | 26 | class AddressComponent extends AbstractObject |
27 | 27 | { |
28 | 28 | |
29 | - /** |
|
30 | - * @var string |
|
31 | - */ |
|
32 | - protected $long_name = null; |
|
29 | + /** |
|
30 | + * @var string |
|
31 | + */ |
|
32 | + protected $long_name = null; |
|
33 | 33 | |
34 | - /** |
|
35 | - * @var string |
|
36 | - */ |
|
37 | - protected $short_name = null; |
|
34 | + /** |
|
35 | + * @var string |
|
36 | + */ |
|
37 | + protected $short_name = null; |
|
38 | 38 | |
39 | - /** |
|
40 | - * @var array |
|
41 | - */ |
|
42 | - protected $types = null; |
|
39 | + /** |
|
40 | + * @var array |
|
41 | + */ |
|
42 | + protected $types = null; |
|
43 | 43 | |
44 | - /** |
|
45 | - * @var array |
|
46 | - */ |
|
47 | - protected $typeCheck = [ |
|
48 | - AddressComponentFields::LONG_NAME => 'string', |
|
49 | - AddressComponentFields::SHORT_NAME => 'string', |
|
50 | - AddressComponentFields::TYPES => 'array' |
|
51 | - ]; |
|
44 | + /** |
|
45 | + * @var array |
|
46 | + */ |
|
47 | + protected $typeCheck = [ |
|
48 | + AddressComponentFields::LONG_NAME => 'string', |
|
49 | + AddressComponentFields::SHORT_NAME => 'string', |
|
50 | + AddressComponentFields::TYPES => 'array' |
|
51 | + ]; |
|
52 | 52 | } |
53 | 53 | \ No newline at end of file |