Skip to content

Commit

Permalink
Model softDeletes trait fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
webNeat committed Feb 4, 2017
1 parent 8e57d36 commit 5cf6f6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lumen-test/tests/acceptance/ModelCommandCept.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function number()
class TestingModel extends Model {
use Illuminate\Database\Eloquent\SoftDeletes;
use \Illuminate\Database\Eloquent\SoftDeletes;
protected $fillable = [];
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/ModelCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected function getAdditional()
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
: '';
}

Expand Down

0 comments on commit 5cf6f6e

Please sign in to comment.