Add new version in repository

This commit is contained in:
Ludovic CANDELLIER
2021-07-25 23:19:27 +02:00
parent f75632b054
commit b879f11c99
608 changed files with 12235 additions and 7513 deletions

View File

@@ -1,5 +1,4 @@
<?php
namespace App\Models\Core\Auth;
use Illuminate\Database\Eloquent\Model;
@@ -11,12 +10,12 @@ class RoleUser extends Model
public function user()
{
return $this->belongsTo('App\Models\Core\Auth\User');
return $this->belongsTo(\App\Models\Core\Auth\User::class);
}
public function team()
{
return $this->belongsTo('App\Models\Core\Auth\Team');
return $this->belongsTo(\App\Models\Core\Auth\Team::class);
}
public function scopeByUser($query, $id)