diff --git a/example/app/Article.php b/example/app/Article.php
index <HASH>..<HASH> 100644
--- a/example/app/Article.php
+++ b/example/app/Article.php
@@ -34,12 +34,12 @@ class Article extends Base
      */
     public function tags()
     {
-        return $this->morphToMany('App\Tag', 'taggable');
+        return $this->morphToMany(\App\Tag::class, 'taggable');
     }
 
     public function slides()
     {
-        return $this->hasMany('App\Slide');
+        return $this->hasMany(\App\Slide::class);
     }
 
     /**
diff --git a/example/app/Slide.php b/example/app/Slide.php
index <HASH>..<HASH> 100644
--- a/example/app/Slide.php
+++ b/example/app/Slide.php
@@ -21,6 +21,6 @@ class Slide extends Base
      */
     public function article()
     {
-        return $this->belongsTo('App\Article');
+        return $this->belongsTo(\App\Article::class);
     }
 }
diff --git a/example/app/Tag.php b/example/app/Tag.php
index <HASH>..<HASH> 100644
--- a/example/app/Tag.php
+++ b/example/app/Tag.php
@@ -30,7 +30,7 @@ class Tag extends Base
      */
     public function articles()
     {
-        return $this->morphedByMany('App\Article', 'taggable');
+        return $this->morphedByMany(\App\Article::class, 'taggable');
     }
 
     /**
Shift bindings

Since Laravel <I> requires PHP <I>+ using the *new* static `class`
property to get the fully qualified name of a class is preferred
over using class name strings.