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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ class GetRequestDataSniff implements Sniff
        ];

        $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  = [
            $varName,
            $requestPropertyMap[$varName],