From 493111f5acde9bc5279178a32de842a12c4bfa76 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Mon, 17 Jul 2023 13:48:54 +0200 Subject: [PATCH] misc --- app/Console/Commands/CheckCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/CheckCommand.php b/app/Console/Commands/CheckCommand.php index c9abeac2..998d6150 100644 --- a/app/Console/Commands/CheckCommand.php +++ b/app/Console/Commands/CheckCommand.php @@ -38,7 +38,7 @@ public function __construct( public function handle(): int { - $paths = $this->argument('paths'); + $paths = (array) $this->argument('paths'); $typesToSkip = (array) $this->option('skip-type'); $phpFilePaths = $this->phpFilesFinder->findPhpFiles($paths);