shmax/php-activerecord — pull request #4 by shmax (2014-07-10 05:57:29+00:00)
Title: test for finding by null

This is a fix for the following scenario:

```PHP
Author::find(0); // throws an exception
Author::null(0); // does not throw an exception; empty array is returned.
```
Why? Because count(0) !- count(null).