Skip to content

Commit ea5f63b

Browse files
committed
Cast getAvailableThreads result to int in PHPCS arguments
1 parent 6925356 commit ea5f63b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/phpcs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function ($path) use ($projectPath): string {
141141
));
142142
}
143143

144-
$arguments[] = '--parallel=' . $environment->getAvailableThreads();
144+
$arguments[] = '--parallel=' . ((int) $environment->getAvailableThreads());
145145
if (null !== $tempFile) {
146146
$arguments[] = '--report=checkstyle';
147147
$arguments[] = '--report-file=' . $tempFile;

0 commit comments

Comments
 (0)