From 0244d57dc56972996e748023a1609e10131ca08e Mon Sep 17 00:00:00 2001 From: denisdulici Date: Mon, 2 Oct 2017 16:39:10 +0300 Subject: [PATCH] fixed static bug --- app/Listeners/Updates/Listener.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Listeners/Updates/Listener.php b/app/Listeners/Updates/Listener.php index 8a8900ecf..c377004da 100644 --- a/app/Listeners/Updates/Listener.php +++ b/app/Listeners/Updates/Listener.php @@ -17,12 +17,12 @@ class Listener protected function check($event) { // Apply only to the specified alias - if ($event->alias != self::ALIAS) { + if ($event->alias != static::ALIAS) { return false; } // Do not apply to the same or newer versions - if ($event->old >= self::VERSION) { + if ($event->old >= static::VERSION) { return false; }