Completed
Branch heritage_class (c7b9cc)
by Maxime
02:29
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
 {
20 20
 
21 21
 	 /**
22
-	 * Output format accepted
23
-	 * @var array
24
-	 */
22
+	  * Output format accepted
23
+	  * @var array
24
+	  */
25 25
 	public $accepteFormat = ['html', 'xml', 'json', 'jsonv2'];
26 26
 
27 27
 
Please login to merge, or discard this patch.