Laravel 10.x Shift #49

Merged
nomadjimbob merged 17 commits from shift-91885 into main 2023-05-24 21:47:14 +00:00
10 changed files with 10 additions and 10 deletions
Showing only changes of commit d0493f3dd0 - Show all commits

View File

@@ -19,7 +19,7 @@ class AnalyticsConductor extends Conductor
* The Model Class
* @var string
*/
protected $class = '\App\Models\Analytics';
protected $class = \App\Models\Analytics::class;
/**
* The default sorting field

View File

@@ -19,7 +19,7 @@ class ArticleConductor extends Conductor
* The Model Class
* @var string
*/
protected $class = '\App\Models\Article';
protected $class = \App\Models\Article::class;
/**
* The default sorting field

View File

@@ -14,7 +14,7 @@ class EventConductor extends Conductor
* The Model Class
* @var string
*/
protected $class = '\App\Models\Event';
protected $class = \App\Models\Event::class;
/**
* The default sorting field

View File

@@ -12,7 +12,7 @@ class MediaConductor extends Conductor
* The Model Class
* @var string
*/
protected $class = '\App\Models\Media';
protected $class = \App\Models\Media::class;
/**
* The default sorting field

View File

@@ -12,7 +12,7 @@ class ShortlinkConductor extends Conductor
* The Model Class
* @var string
*/
protected $class = '\App\Models\Shortlink';
protected $class = \App\Models\Shortlink::class;
/**
* The default sorting field

View File

@@ -10,7 +10,7 @@ class SubscriptionConductor extends Conductor
* The Model Class
* @var string
*/
protected $class = '\App\Models\Subscription';
protected $class = \App\Models\Subscription::class;
/**

View File

@@ -10,7 +10,7 @@ class UserConductor extends Conductor
* The Model Class
* @var string
*/
protected $class = '\App\Models\User';
protected $class = \App\Models\User::class;
/**

View File

@@ -11,7 +11,7 @@ class SubscriptionFilter extends FilterAbstract
*
* @var mixed
*/
protected $class = '\App\Models\Subscription';
protected $class = \App\Models\Subscription::class;
/**

View File

@@ -44,6 +44,6 @@ class Article extends Model
*/
public function attachments()
{
return $this->morphMany('App\Models\Attachment', 'attachable');
return $this->morphMany(\App\Models\Attachment::class, 'attachable');
}
}

View File

@@ -43,7 +43,7 @@ class Event extends Model
*/
public function attachments()
{
return $this->morphMany('App\Models\Attachment', 'attachable');
return $this->morphMany(\App\Models\Attachment::class, 'attachable');
}
/**