Completed
Branch heritage_class (c02243)
by Maxime
02:13
created
src/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Query.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 		}
Please login to merge, or discard this patch.
src/Reverse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.