Model softDeletes trait fixed

This commit is contained in:
Amine Ben hammou 2017-02-04 21:55:44 +00:00
parent 8e57d36894
commit 5cf6f6ed9c
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ use Illuminate\Database\Eloquent\Model;
class TestingModel extends Model {
use Illuminate\Database\Eloquent\SoftDeletes;
use \Illuminate\Database\Eloquent\SoftDeletes;
protected $fillable = [];

View File

@ -128,7 +128,7 @@ class ModelCommand extends BaseCommand {
protected function getUses()
{
return $this->option('soft-deletes') == 'true'
? ' use Illuminate\Database\Eloquent\SoftDeletes;' . PHP_EOL . PHP_EOL
? ' use \Illuminate\Database\Eloquent\SoftDeletes;' . PHP_EOL . PHP_EOL
: '';
}