Skip to content

Commit

Permalink
Restore CliUtils.php
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Aug 22, 2022
1 parent 198347f commit 72a1c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/CliUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ public static function initPhpVersion(array $options, Config $config, ProjectAna

if (isset($options['php-version'])) {
if (!is_string($options['php-version'])) {
die('Expecting a version number in the format x.y, got'. get_debug_type($options['php-version']) . PHP_EOL);
die('Expecting a version number in the format x.y' . PHP_EOL);
}
$version = $options['php-version'];
$source = 'cli';
Expand Down

0 comments on commit 72a1c05

Please sign in to comment.