File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
tests/system/Commands/Utilities Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,7 @@ trait ReflectionHelper
3131 * @param object|string $obj object or class name
3232 * @param string $method method name
3333 *
34- * @return Closure
35- * @phpstan-return Closure(mixed ...$args): mixed
34+ * @return Closure(mixed ...$args): mixed
3635 *
3736 * @throws ReflectionException
3837 */
Original file line number Diff line number Diff line change @@ -89,7 +89,9 @@ public function testCommandConfigCheckNonexistentClass(): void
8989
9090 public function testConfigCheckWithKintEnabledUsesKintD (): void
9191 {
92- /** @var Closure(object): string $command */
92+ /**
93+ * @var Closure(mixed...): string
94+ */
9395 $ command = $ this ->getPrivateMethodInvoker (
9496 new ConfigCheck (service ('logger ' ), service ('commands ' )),
9597 'getKintD ' ,
@@ -105,7 +107,9 @@ public function testConfigCheckWithKintEnabledUsesKintD(): void
105107
106108 public function testConfigCheckWithKintDisabledUsesVarDump (): void
107109 {
108- /** @var Closure(object): string $command */
110+ /**
111+ * @var Closure(mixed...): string
112+ */
109113 $ command = $ this ->getPrivateMethodInvoker (
110114 new ConfigCheck (service ('logger ' ), service ('commands ' )),
111115 'getVarDump ' ,
You can’t perform that action at this time.
0 commit comments