The ```ConsoleCommand``` has a ```public $model;``` which default value is null, so this going to be true if you give the model parameter .