There is no need for it to return something if there is not any game.


2014-03-22 16:55 GMT+02:00 Dionysis Zindros <notifications@github.com>:

> In models/game.php:
>
> > @@ -22,7 +22,12 @@ class Game extends ActiveRecordBase {
> >          public static function getLastGame() {
> >              $game = dbSelect( 'games', [ 'id' ], [], 'created DESC', 1 );
>
> This might return the empty set
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/dionyziz/endofcodes/pull/161/files#r10862570>
> .
>