Skip to content

Commit ea5172e

Browse files
authored
[10.x] Fix return type of prefixedResource & prefixedResource (#47445)
* fix return type of `prefixedResource` & `prefixedResource` * use FQN in docblocks
1 parent ce0ae35 commit ea5172e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Routing/ResourceRegistrar.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public function singleton($name, $controller, array $options = [])
179179
* @param string $name
180180
* @param string $controller
181181
* @param array $options
182-
* @return void
182+
* @return \Illuminate\Routing\Router
183183
*/
184184
protected function prefixedResource($name, $controller, array $options)
185185
{
@@ -201,7 +201,7 @@ protected function prefixedResource($name, $controller, array $options)
201201
* @param string $name
202202
* @param string $controller
203203
* @param array $options
204-
* @return void
204+
* @return \Illuminate\Routing\Router
205205
*/
206206
protected function prefixedSingleton($name, $controller, array $options)
207207
{

0 commit comments

Comments
 (0)