From baad550d957ba6781bb30b5146fbe70820878c9a Mon Sep 17 00:00:00 2001 From: Steven Yung Date: Mon, 17 Jul 2017 13:05:14 +0200 Subject: [PATCH] Replace Event alias by complete namespace Using facade aliases can cause issue while loading the package, using the complete namespace instead prevent from having issue. --- src/Traits/Friendable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/Friendable.php b/src/Traits/Friendable.php index ab00d57..4118a12 100644 --- a/src/Traits/Friendable.php +++ b/src/Traits/Friendable.php @@ -6,7 +6,7 @@ use Hootlex\Friendships\Models\FriendFriendshipGroups; use Hootlex\Friendships\Status; use Illuminate\Database\Eloquent\Model; -use Event; +use Illuminate\Support\Facades\Event; /** * Class Friendable