Empty string is now considered null when transforming to boolean
Added phpdoc