Skip to content

Commit 8888892

Browse files
committed
Remove redundant return type
The actual type _is_ mixed
1 parent db329a6 commit 8888892

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

tests/Support/Middlewares/GlobalInstanceMiddleware.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public function __construct(int $invalidValue)
2020
/**
2121
* @phpstan-param mixed $root
2222
* @phpstan-param mixed $context
23-
* @phpstan-return mixed
2423
*/
2524
public function handle($root, array $args, $context, ResolveInfo $info, Closure $next): mixed
2625
{

tests/Support/Middlewares/GlobalMiddleware.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class GlobalMiddleware extends Middleware
1010
/**
1111
* @phpstan-param mixed $root
1212
* @phpstan-param mixed $context
13-
* @phpstan-return mixed
1413
*/
1514
public function handle($root, array $args, $context, ResolveInfo $info, Closure $next): mixed
1615
{

0 commit comments

Comments
 (0)