Fix boolean types (#779)
Changed `Boolean` to `bool` to avoid Psalm being confused with a potential class. Thanks @digilist
This commit is contained in:
parent
a1a3281dbf
commit
7abb6d36cb
10 changed files with 12 additions and 12 deletions
|
|
@ -42,7 +42,7 @@ class OptionsTester implements OptionsTesterInterface
|
|||
|
||||
$output = $this->retrieveHelpOutput();
|
||||
|
||||
$ret = (Boolean) preg_match('/^'.$name.'/m', $output);
|
||||
$ret = (bool) preg_match('/^'.$name.'/m', $output);
|
||||
|
||||
$this->cache->save($id, $ret);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue