mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix falsable issue with phpversion
This commit is contained in:
parent
b109cc8bdf
commit
f6d4a98063
@ -244,7 +244,7 @@ final class ErrorBaseline
|
||||
$filesNode->setAttribute('php-version', implode(';' . "\n\t", [...[
|
||||
('php:' . PHP_VERSION),
|
||||
], ...array_map(
|
||||
static fn(string $extension): string => $extension . ':' . phpversion($extension),
|
||||
static fn(string $extension): string => $extension . ':' . (string) phpversion($extension),
|
||||
$extensions,
|
||||
)]));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user