diff --git a/components/http_foundation.rst b/components/http_foundation.rst index 7b56d953981..bae1a209487 100644 --- a/components/http_foundation.rst +++ b/components/http_foundation.rst @@ -297,7 +297,7 @@ PHP callable that is able to create an instance of your ``Request`` class:: array $server = array(), $content = null ) { - return SpecialRequest::create( + return new SpecialRequest( $query, $request, $attributes,