From 3889e7d60e314bdf8015ac2d39311772b2c99710 Mon Sep 17 00:00:00 2001 From: ninjaparade Date: Tue, 24 May 2016 20:45:20 -0700 Subject: [PATCH 1/3] added `SerializesModels` trait --- src/Illuminate/Auth/Events/Login.php | 4 ++++ src/Illuminate/Auth/Events/Logout.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/Illuminate/Auth/Events/Login.php b/src/Illuminate/Auth/Events/Login.php index 0afc486055f4..881674593c94 100644 --- a/src/Illuminate/Auth/Events/Login.php +++ b/src/Illuminate/Auth/Events/Login.php @@ -2,8 +2,12 @@ namespace Illuminate\Auth\Events; +use Illuminate\Queue\SerializesModels; + class Login { + use SerializesModels; + /** * The authenticated user. * diff --git a/src/Illuminate/Auth/Events/Logout.php b/src/Illuminate/Auth/Events/Logout.php index 4ac69707969c..aef6b52a369e 100644 --- a/src/Illuminate/Auth/Events/Logout.php +++ b/src/Illuminate/Auth/Events/Logout.php @@ -2,8 +2,12 @@ namespace Illuminate\Auth\Events; +use Illuminate\Queue\SerializesModels; + class Logout { + use SerializesModels; + /** * The authenticated user. * From ec9230924d5a5427c0b8af74a3187a9a5442b464 Mon Sep 17 00:00:00 2001 From: ninjaparade Date: Tue, 24 May 2016 20:45:20 -0700 Subject: [PATCH 2/3] added `SerializesModels` trait --- src/Illuminate/Auth/Events/Login.php | 4 ++++ src/Illuminate/Auth/Events/Logout.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/Illuminate/Auth/Events/Login.php b/src/Illuminate/Auth/Events/Login.php index 0afc486055f4..881674593c94 100644 --- a/src/Illuminate/Auth/Events/Login.php +++ b/src/Illuminate/Auth/Events/Login.php @@ -2,8 +2,12 @@ namespace Illuminate\Auth\Events; +use Illuminate\Queue\SerializesModels; + class Login { + use SerializesModels; + /** * The authenticated user. * diff --git a/src/Illuminate/Auth/Events/Logout.php b/src/Illuminate/Auth/Events/Logout.php index 4ac69707969c..aef6b52a369e 100644 --- a/src/Illuminate/Auth/Events/Logout.php +++ b/src/Illuminate/Auth/Events/Logout.php @@ -2,8 +2,12 @@ namespace Illuminate\Auth\Events; +use Illuminate\Queue\SerializesModels; + class Logout { + use SerializesModels; + /** * The authenticated user. * From c1820b2039f4bb44322c704f9c208fb10341cd38 Mon Sep 17 00:00:00 2001 From: ninjaparade Date: Wed, 25 May 2016 11:01:13 -0700 Subject: [PATCH 3/3] fix style issue --- src/Illuminate/Auth/Events/Logout.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Illuminate/Auth/Events/Logout.php b/src/Illuminate/Auth/Events/Logout.php index aef6b52a369e..18fe2d1a1fc0 100644 --- a/src/Illuminate/Auth/Events/Logout.php +++ b/src/Illuminate/Auth/Events/Logout.php @@ -7,7 +7,6 @@ class Logout { use SerializesModels; - /** * The authenticated user. *