mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Use more readable for Psalm expressions
This commit is contained in:
parent
fdd5e2ebdb
commit
ca063a46d9
@ -1158,7 +1158,7 @@ final class Psalm
|
||||
);
|
||||
}
|
||||
|
||||
$is_shepherd_enabled = (bool) (array_key_exists('shepherd', $options) ?? getenv('PSALM_SHEPHERD'));
|
||||
$is_shepherd_enabled = isset($options['shepherd']) || getenv('PSALM_SHEPHERD');
|
||||
if (! $is_shepherd_enabled) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user