Skip to content

Commit 18e0a33

Browse files
committed
fix: 更新多个类的__call方法参数类型注释以提高类型准确性
1 parent 73ed590 commit 18e0a33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Spinner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(SymfonyStyle $output, int $max = 0, ?array $chars =
3737
$this->progressBar->setRedrawFrequency(31);
3838
}
3939

40-
public function __call($name, $arguments)
40+
public function __call(string $name, array $arguments): mixed
4141
{
4242
return $this->progressBar->{$name}(...$arguments);
4343
}

0 commit comments

Comments
 (0)