mirror of
https://github.com/silverstripe/silverstripe-environmentcheck
synced 2024-10-22 15:05:40 +00:00
Reduce line length for PSR-2 compatibility
This commit is contained in:
parent
a54400681f
commit
922d810a3a
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user