mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Clarify string concatenation to improve readability
Replaces #5802
This commit is contained in:
parent
c130e5550d
commit
43efe73fc7
@ -485,7 +485,7 @@ class RequestHandler extends ViewableData {
|
||||
$request = $this->getRequest();
|
||||
|
||||
// Call a handler method such as onBeforeHTTPError404
|
||||
$this->extend('onBeforeHTTPError' . $errorCode, $request);
|
||||
$this->extend("onBeforeHTTPError{$errorCode}", $request);
|
||||
|
||||
// Call a handler method such as onBeforeHTTPError, passing 404 as the first arg
|
||||
$this->extend('onBeforeHTTPError', $errorCode, $request);
|
||||
|
Loading…
x
Reference in New Issue
Block a user