add doc comments to models

This commit is contained in:
2018-07-14 18:50:25 +02:00
parent f12773ccd1
commit 25cb60d377
8 changed files with 78 additions and 62 deletions
+10
View File
@@ -6,6 +6,16 @@ use Illuminate\Database\Eloquent\Model;
/**
* Report (something objectionable spotted by a user)
*
* @property int $id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property string $object_type
* @property int $object_id
* @property int $author_id
* @property string $message
* @property User $author
* @property mixed $object - morph
*/
class ContentReport extends Model
{