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.