Skip to content

Commit 0f67b52

Browse files
Add auditable_type and auditable_id PHPDoc to Audit Model (#1025)
* Add `auditable_type` and `auditable_id` properties to Audit Model * import Carbon
1 parent c57fbec commit 0f67b52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Models/Audit.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace OwenIt\Auditing\Models;
44

55
use Illuminate\Database\Eloquent\Model;
6+
use Illuminate\Support\Carbon;
67

78
/**
89
* @property string $tags
@@ -13,6 +14,8 @@
1314
* @property Carbon|null $updated_at
1415
* @property mixed $user
1516
* @property mixed $auditable.
17+
* @property string|null $auditable_type
18+
* @property string|int|null $auditable_id
1619
*/
1720
class Audit extends Model implements \OwenIt\Auditing\Contracts\Audit
1821
{

0 commit comments

Comments
 (0)