Skip to content
Snippets Groups Projects
Commit c3a67065 authored by Allan Chappell's avatar Allan Chappell Committed by Klaus Purer
Browse files

fix(GetRequestData): Fix typo for request_stack service name in error message...

fix(GetRequestData): Fix typo for request_stack service name in error message (#3267820 by generalredneck)
parent 9fc079a2
Branches
Tags
No related merge requests found
...@@ -86,7 +86,7 @@ class GetRequestDataSniff implements Sniff ...@@ -86,7 +86,7 @@ class GetRequestDataSniff implements Sniff
]; ];
$type = 'SuperglobalAccessed'; $type = 'SuperglobalAccessed';
$error = 'The %s super global must not be accessed directly; inject the request.stack service and use $stack->getCurrentRequest()->%s'; $error = 'The %s super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->%s';
$data = [ $data = [
$varName, $varName,
$requestPropertyMap[$varName], $requestPropertyMap[$varName],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment