Add BaseModel with stricter attribute existence checking
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Report (something objectionable spotted by a user)
|
||||
*
|
||||
@@ -17,7 +15,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property mixed $object - morph
|
||||
* @property-read User $author
|
||||
*/
|
||||
class ContentReport extends Model
|
||||
class ContentReport extends BaseModel
|
||||
{
|
||||
protected $guarded = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user