mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-11-03 13:01:46 +01:00
20 lines
363 B
PHP
20 lines
363 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Concerns\Models;
|
|
|
|
use App\Models\User\Report\ReportStep;
|
|
use Illuminate\Database\Eloquent\Relations\MorphMany;
|
|
|
|
trait Reportable
|
|
{
|
|
/**
|
|
* @return MorphMany
|
|
*/
|
|
public function reportsteps(): MorphMany
|
|
{
|
|
return $this->morphMany(ReportStep::class, ReportStep::RELATION_ACTIONABLE);
|
|
}
|
|
}
|