diff --git a/src/IncomingEntry.php b/src/IncomingEntry.php index 81e00f1be..1a19affda 100644 --- a/src/IncomingEntry.php +++ b/src/IncomingEntry.php @@ -222,6 +222,26 @@ public function isSlowQuery() return $this->type === EntryType::QUERY && ($this->content['slow'] ?? false); } + /** + * Determine if the incoming entry is a event entry. + * + * @return bool + */ + public function isEvent() + { + return $this->type === EntryType::EVENT; + } + + /** + * Determine if the incoming entry is a cache entry. + * + * @return bool + */ + public function isCache() + { + return $this->type === EntryType::CACHE; + } + /** * Determine if the incoming entry is an authorization gate check. * @@ -283,26 +303,6 @@ public function isLog() return $this->type === EntryType::LOG; } - /** - * Determine if the incoming entry is a event entry. - * - * @return bool - */ - public function isEvent() - { - return $this->type === EntryType::EVENT; - } - - /** - * Determine if the incoming entry is a cache entry. - * - * @return bool - */ - public function isCache() - { - return $this->type === EntryType::CACHE; - } - /** * Determine if the incoming entry is a scheduled task. *