mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-02-06 18:49:57 +00:00
Bump php to ^8.0, add tooling, linting, fixes
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace nullthoughts\LaravelDataSync\Tests;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
|
||||
class Supervisor extends Model
|
||||
{
|
||||
@@ -10,7 +11,7 @@ class Supervisor extends Model
|
||||
|
||||
protected $guarded = [];
|
||||
|
||||
public function roles()
|
||||
public function roles(): HasMany
|
||||
{
|
||||
return $this->hasMany(Roles::class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user