<?php
/**
* @param true $a
* @return true
*/
function foo(bool $a): bool {
return true;
}
gets changed to:
<?php
function foo(bool $a): bool {
return true;
}
which is wrong, since type information is lost
It should change it to: (the param is not changed, since updating of param type hints isn't implemented yet at all)
/**
* @param true $a
*/
function foo(bool $a): true {
return true;
}