Remove useless condition

The typehint forbids passing ``null``