pint run
This commit is contained in:
1 parent
00bcaa2b93
commit
1559580ceb
37 files changed
+211
-162
No files matched your search
+1
-2
@@ -7,11 +7,10 @@ use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
|
||||
class Belt extends Model
|
||||
{
|
||||
protected $fillable = ["name"];
|
||||
protected $fillable = ['name'];
|
||||
|
||||
public function courses(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(Course::class);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user