Skip to content

Commit 061e9ba

Browse files
committed
Changed order of condition checks in if statement
1 parent fbfae9b commit 061e9ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ public function getCustomerInfo()
389389
*/
390390
public function checkServiceDetails($test = false, $serviceId = null, $apiKey = null, $isInitialCheck = false)
391391
{
392-
if (!$this->config->isServiceConfigured() && !$isInitialCheck) {
392+
if (!$isInitialCheck && !$this->config->isServiceConfigured()) {
393393
throw new LocalizedException(__('Fastly service is not configured.'));
394394
}
395395

0 commit comments

Comments
 (0)