From 819677c9025471c8951ead7905bcde2e3ed635c5 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 24 Apr 2019 13:50:01 +0200 Subject: Use self references and fix class naming --- src/Models/LogEntry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Models/LogEntry.php') diff --git a/src/Models/LogEntry.php b/src/Models/LogEntry.php index 0018841a..db427eb9 100644 --- a/src/Models/LogEntry.php +++ b/src/Models/LogEntry.php @@ -40,7 +40,7 @@ class LogEntry extends BaseModel */ public static function filter($keyword = null) { - $query = LogEntry::query() + $query = self::query() ->select() ->orderByDesc('created_at') ->orderByDesc('id') -- cgit v1.2.3-54-g00ecf