Skip to content

Commit dd4fa26

Browse files
authored
refactor: remove unused array from docblock (#56961)
1 parent 52e08d9 commit dd4fa26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Illuminate/Routing/PendingResourceRegistration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public function middlewareFor($methods, $middleware)
198198
* Specify middleware that should be removed from the resource routes.
199199
*
200200
* @param array|string $middleware
201-
* @return $this|array
201+
* @return $this
202202
*/
203203
public function withoutMiddleware($middleware)
204204
{

src/Illuminate/Routing/PendingSingletonResourceRegistration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public function middlewareFor($methods, $middleware)
222222
* Specify middleware that should be removed from the resource routes.
223223
*
224224
* @param array|string $middleware
225-
* @return $this|array
225+
* @return $this
226226
*/
227227
public function withoutMiddleware($middleware)
228228
{

0 commit comments

Comments
 (0)