Completed
Branch master (f68a36)
by Maxime
05:07 queued 02:46
created
src/Nominatim.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -71,21 +71,18 @@
 block discarded – undo
71 71
 				'timeout'			 => 30,
72 72
 				'connection_timeout' => 5,
73 73
 			]);
74
-		} 
75
-		else if($http_client instanceof Client)
74
+		} else if($http_client instanceof Client)
76 75
 		{
77 76
 			$application_url_client = $http_client->getConfig('base_uri');
78 77
 
79 78
 			if(!isset($application_url_client))
80 79
 			{
81 80
 				$http_client->setDefaultOption('base_uri', $application_url);
82
-			}
83
-			else if($application_url_client != $application_url)
81
+			} else if($application_url_client != $application_url)
84 82
 			{
85 83
 				throw new InvalidParameterException("http_client parameter has a differente url to application_url parameter");
86 84
 			}
87
-		}
88
-		else
85
+		} else
89 86
 		{
90 87
 			throw new InvalidParameterException("http_client parameter must be a GuzzleHttp\Client object or empty");
91 88
 		}
Please login to merge, or discard this patch.
src/Search.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
 	use QueryTrait;
21 21
 
22 22
 	 /**
23
-	 * Output format accepted
24
-	 * @var array
25
-	 */
23
+	  * Output format accepted
24
+	  * @var array
25
+	  */
26 26
 	public $accepteFormat = ['html', 'xml', 'json', 'jsonv2'];
27 27
 
28 28
 	/**
@@ -246,12 +246,12 @@  discard block
 block discarded – undo
246 246
 	}
247 247
 
248 248
 	/**
249
-	* Include a breakdown of the address into elements.
250
-	*
251
-	* @param  boolean $details
252
-	* 
253
-	* @return maxh\Nominatim\Search
254
-	*/
249
+	 * Include a breakdown of the address into elements.
250
+	 *
251
+	 * @param  boolean $details
252
+	 * 
253
+	 * @return maxh\Nominatim\Search
254
+	 */
255 255
 	public function addressDetails($details = true)
256 256
 	{
257 257
 		$this->query['addressdetails'] = $details ? "1" : "0";
Please login to merge, or discard this patch.