This looks wrong. The phpdoc tells it should return ``false`` when failing, not ``null``