@@ -197,7 +197,7 @@ |
||
197 | 197 | { |
198 | 198 | $args = func_get_args(); |
199 | 199 | |
200 | - if(count($args) > 0) |
|
200 | + if (count($args) > 0) |
|
201 | 201 | { |
202 | 202 | $this->query['exclude_place_ids'] = implode(', ', $args); |
203 | 203 |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function __construct(array $query = []) |
54 | 54 | { |
55 | - if(!isset($query['format'])) |
|
55 | + if (!isset($query['format'])) |
|
56 | 56 | { |
57 | 57 | //Default format |
58 | 58 | $query['format'] = 'json'; |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | { |
78 | 78 | $format = strtolower($format); |
79 | 79 | |
80 | - if(in_array($format, $this->accepteFormat)) |
|
80 | + if (in_array($format, $this->accepteFormat)) |
|
81 | 81 | { |
82 | 82 | $this->setFormat($format); |
83 | 83 | |
@@ -144,9 +144,9 @@ discard block |
||
144 | 144 | */ |
145 | 145 | public function polygon($polygon) |
146 | 146 | { |
147 | - if(in_array($polygon, $this->polygon)) |
|
147 | + if (in_array($polygon, $this->polygon)) |
|
148 | 148 | { |
149 | - $this->query['polygon_'.$polygon] = "1"; |
|
149 | + $this->query['polygon_' . $polygon] = "1"; |
|
150 | 150 | |
151 | 151 | return $this; |
152 | 152 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | */ |
49 | 49 | public function osmType($type) |
50 | 50 | { |
51 | - if(in_array($type, $this->osmType)) |
|
51 | + if (in_array($type, $this->osmType)) |
|
52 | 52 | { |
53 | 53 | $this->query['osm_type'] = $type; |
54 | 54 |