mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #5838 from tractorcow/pulls/4.0/minor-error-string
MINOR Clarify string concatenation to improve readability
This commit is contained in:
commit
73d418dbee
@ -485,7 +485,7 @@ class RequestHandler extends ViewableData {
|
|||||||
$request = $this->getRequest();
|
$request = $this->getRequest();
|
||||||
|
|
||||||
// Call a handler method such as onBeforeHTTPError404
|
// 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
|
// Call a handler method such as onBeforeHTTPError, passing 404 as the first arg
|
||||||
$this->extend('onBeforeHTTPError', $errorCode, $request);
|
$this->extend('onBeforeHTTPError', $errorCode, $request);
|
||||||
|
Loading…
Reference in New Issue
Block a user