Throw InvalidArgumentException when calling findOne{,OrFail} with invalid argument
Merge pull request #22 from arthurdarcet/master

Throw InvalidArgumentException when calling findOne{,OrFail} with invalid argument