Browse Source

Add docblocks on Job and Project model

pull/34/head
Nafies Luthfi 7 years ago
parent
commit
2a96913005
  1. 5
      app/Entities/Projects/Job.php
  2. 5
      app/Entities/Projects/Project.php

5
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();

5
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();

Loading…
Cancel
Save