Remove comparison with `null` as we do it with `instanceof`
Remove comparison with `null` as we do it with `instanceof`

There is no need to check against a white-list type and a black-list at
the same time.

Signed-off-by: Jefersson Nathan <d033e22ae348aeb5660fc2140aec35850c4da997@phpse.net>

lcobucci/doctrine2,deeky666/doctrine2,holtkamp/doctrine2,aivus/doctrine2,localheinz/doctrine2,Majkl578/doctrine2,PowerKiKi/doctrine2,mikeSimonson/doctrine2,TomasVotruba/doctrine2,TomasVotruba/doctrine2,aivus/doctrine2,holtkamp/doctrine2,mikeSimonson/doctrine2,deeky666/doctrine2,PowerKiKi/doctrine2,lcobucci/doctrine2,localheinz/doctrine2,stof/doctrine2,stof/doctrine2,Majkl578/doctrine2