Skip to content

Commit dcb6f57

Browse files
committed
fix: phpstan error.
1 parent 9d1ebe1 commit dcb6f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Option/CommandFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private function parseCheckCommand(array $paths): CommandInterface
104104
}
105105

106106
$threshold = $this->options['threshold'] ?? null;
107-
if (is_numeric($threshold)) {
107+
if (isset($threshold)) {
108108
$threshold = (int) $threshold;
109109
}
110110

0 commit comments

Comments
 (0)