redoing branch. old branch merge onflicts were waaay too gnarly

This commit is contained in:
akemidx
2024-09-16 19:30:26 -04:00
parent fe5fc6e0ce
commit 74efd850af
9 changed files with 147 additions and 7 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\MorphTo;
class Note extends Model
{
/**
* Get the parent item of a comment
*/
public function commentable(): MorphTo
{
return $this->morphTo();
}
}