diff --git a/app/Entities/Projects/Project.php b/app/Entities/Projects/Project.php index 2dfc7b5..79710d4 100755 --- a/app/Entities/Projects/Project.php +++ b/app/Entities/Projects/Project.php @@ -4,7 +4,6 @@ namespace App\Entities\Projects; use App\Entities\Invoices\Invoice; use App\Entities\Payments\Payment; -use App\Entities\Projects\Comment; use App\Entities\Partners\Customer; use Illuminate\Database\Eloquent\Model; use Laracasts\Presenter\PresentableTrait; diff --git a/database/factories/CommentFactory.php b/database/factories/CommentFactory.php index c781635..2d9aefe 100644 --- a/database/factories/CommentFactory.php +++ b/database/factories/CommentFactory.php @@ -6,7 +6,6 @@ use App\Entities\Projects\Comment; use App\Entities\Projects\Project; $factory->define(Comment::class, function (Faker $faker) { - return [ 'commentable_type' => 'projects', 'commentable_id' => function () {