It is just the same. In both ways new game will throw error. If you prefer
an empty $game I will fix it

2014-03-22 17:16 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 );
>
> You use it in the code below even though it may return an empty array.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/dionyziz/endofcodes/pull/161/files#r10862627>
> .
>