diff --git a/app/Entities/Projects/Job.php b/app/Entities/Projects/Job.php index 4418233..14f1c27 100755 --- a/app/Entities/Projects/Job.php +++ b/app/Entities/Projects/Job.php @@ -111,6 +111,11 @@ class Job extends Model return $this->price * ($this->progress / 100); } + /** + * Delete the model from the database. + * + * @return bool|null + */ public function delete() { DB::beginTransaction(); diff --git a/app/Entities/Projects/Project.php b/app/Entities/Projects/Project.php index 91742c2..d2ed10c 100755 --- a/app/Entities/Projects/Project.php +++ b/app/Entities/Projects/Project.php @@ -246,6 +246,11 @@ class Project extends Model return $workDuration.' Day(s)'; } + /** + * Delete the model from the database. + * + * @return bool|null + */ public function delete() { DB::beginTransaction();