@@ -57,7 +57,7 @@ trait RoutesRequests
5757 /**
5858 * Add new middleware to the application.
5959 *
60- * @param Closure|array $middleware
60+ * @param \ Closure|array $middleware
6161 * @return $this
6262 */
6363 public function middleware ($ middleware )
@@ -85,7 +85,10 @@ public function routeMiddleware(array $middleware)
8585 }
8686
8787 /**
88- * {@inheritdoc}
88+ * Dispatch request and return response.
89+ *
90+ * @param \Symfony\Component\HttpFoundation\Request $request
91+ * @return \Illuminate\Http\Response
8992 */
9093 public function handle (SymfonyRequest $ request )
9194 {
@@ -101,7 +104,7 @@ public function handle(SymfonyRequest $request)
101104 /**
102105 * Run the application and send the response.
103106 *
104- * @param SymfonyRequest |null $request
107+ * @param \Symfony\Component\HttpFoundation\Request |null $request
105108 * @return void
106109 */
107110 public function run ($ request = null )
@@ -149,8 +152,8 @@ protected function callTerminableMiddleware($response)
149152 /**
150153 * Dispatch the incoming request.
151154 *
152- * @param SymfonyRequest |null $request
153- * @return Response
155+ * @param \Symfony\Component\HttpFoundation\Request |null $request
156+ * @return \Illuminate\Http\ Response
154157 */
155158 public function dispatch ($ request = null )
156159 {
@@ -195,7 +198,7 @@ protected function parseIncomingRequest($request)
195198 /**
196199 * Create a FastRoute dispatcher instance for the application.
197200 *
198- * @return Dispatcher
201+ * @return \FastRoute\ Dispatcher
199202 */
200203 protected function createDispatcher ()
201204 {
@@ -393,7 +396,7 @@ protected function callControllerCallable(callable $callable, array $parameters
393396 /**
394397 * Gather the full class names for the middleware short-cut string.
395398 *
396- * @param string $middleware
399+ * @param string|array $middleware
397400 * @return array
398401 */
399402 protected function gatherMiddlewareClassNames ($ middleware )
@@ -430,7 +433,7 @@ protected function sendThroughPipeline(array $middleware, Closure $then)
430433 * Prepare the response for sending.
431434 *
432435 * @param mixed $response
433- * @return Response
436+ * @return \Illuminate\Http\ Response
434437 */
435438 public function prepareResponse ($ response )
436439 {
0 commit comments