diff --git a/src/Models/Thread.php b/src/Models/Thread.php
index <HASH>..<HASH> 100644
--- a/src/Models/Thread.php
+++ b/src/Models/Thread.php
@@ -114,11 +114,11 @@ class Thread extends Eloquent
     /**
      * Returns all of the latest threads by updated_at date.
      *
-     * @return self
+     * @return \Illuminate\Database\Query\Builder|static
      */
     public static function getAllLatest()
     {
-        return self::latest('updated_at');
+        return static::latest('updated_at');
     }
 
     /**
Thread method getAllLatest call latest from static

This behavior important for the extended Thread model, otherwise Query Builder will be called on `Cmgmyr\Messenger\Models\Thread` model instead of extended class.