mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
chore: type checking
This commit is contained in:
@ -42,9 +42,9 @@ declare(strict_types=1);
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace PHPUnit\TextUI\Command;
|
||||
|
||||
use function printf;
|
||||
use PHPUnit\TextUI\Configuration\CodeCoverageFilterRegistry;
|
||||
use PHPUnit\TextUI\Configuration\Configuration;
|
||||
use PHPUnit\TextUI\Configuration\NoCoverageCacheDirectoryException;
|
||||
@ -58,6 +58,7 @@ use SebastianBergmann\Timer\Timer;
|
||||
final class WarmCodeCoverageCacheCommand implements Command
|
||||
{
|
||||
private readonly Configuration $configuration;
|
||||
|
||||
private readonly CodeCoverageFilterRegistry $codeCoverageFilterRegistry;
|
||||
|
||||
public function __construct(Configuration $configuration, CodeCoverageFilterRegistry $codeCoverageFilterRegistry)
|
||||
|
||||
@ -36,7 +36,7 @@ final class Cache implements HandlesArguments
|
||||
);
|
||||
|
||||
if (! $this->hasArgument('--parallel', $arguments)) {
|
||||
$arguments = $this->pushArgument('--cache-result', $arguments);
|
||||
return $this->pushArgument('--cache-result', $arguments);
|
||||
}
|
||||
|
||||
return $arguments;
|
||||
|
||||
Reference in New Issue
Block a user