Reduce line length for PSR-2 compatibility

This commit is contained in:
Robbie Averill 2019-03-29 10:03:02 +13:00
parent a54400681f
commit 922d810a3a
1 changed files with 4 additions and 1 deletions

View File

@ -115,7 +115,10 @@ class EnvironmentChecker extends RequestHandler
}
} elseif (!$this->canAccess(null, $permission)) {
// Fail check with silverstripe login challenge
$result = Security::permissionFailure($this, "You must have the {$permission} permission to access this check");
$result = Security::permissionFailure(
$this,
"You must have the {$permission} permission to access this check"
);
throw new HTTPResponse_Exception($result);
}
}