From ea5172eb59d4ecd87379591c2a2e34c96ca7d068 Mon Sep 17 00:00:00 2001 From: Milwad <98118400+milwad-dev@users.noreply.github.com> Date: Thu, 15 Jun 2023 15:35:13 +0330 Subject: [PATCH] [10.x] Fix return type of `prefixedResource` & `prefixedResource` (#47445) * fix return type of `prefixedResource` & `prefixedResource` * use FQN in docblocks --- src/Illuminate/Routing/ResourceRegistrar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Routing/ResourceRegistrar.php b/src/Illuminate/Routing/ResourceRegistrar.php index cf1a5e788c1d..781b4baddb87 100644 --- a/src/Illuminate/Routing/ResourceRegistrar.php +++ b/src/Illuminate/Routing/ResourceRegistrar.php @@ -179,7 +179,7 @@ public function singleton($name, $controller, array $options = []) * @param string $name * @param string $controller * @param array $options - * @return void + * @return \Illuminate\Routing\Router */ protected function prefixedResource($name, $controller, array $options) { @@ -201,7 +201,7 @@ protected function prefixedResource($name, $controller, array $options) * @param string $name * @param string $controller * @param array $options - * @return void + * @return \Illuminate\Routing\Router */ protected function prefixedSingleton($name, $controller, array $options) {