From 922d810a3a1707fef98c2d72c777825b3f67700a Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Fri, 29 Mar 2019 10:03:02 +1300 Subject: [PATCH] Reduce line length for PSR-2 compatibility --- src/EnvironmentChecker.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/EnvironmentChecker.php b/src/EnvironmentChecker.php index 5db95f0..4d1eb7c 100644 --- a/src/EnvironmentChecker.php +++ b/src/EnvironmentChecker.php @@ -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); } }