diff --git a/src/Illuminate/Cleaners/SessionCleaner.php b/src/Illuminate/Cleaners/SessionCleaner.php index 534108bf..cbef845b 100644 --- a/src/Illuminate/Cleaners/SessionCleaner.php +++ b/src/Illuminate/Cleaners/SessionCleaner.php @@ -35,9 +35,8 @@ public function clean() Facade::clearResolvedInstance('session.store'); if (isset($this->currentApp['redirect'])) { - /**@var Redirector $redirect */ - $redirect = $this->currentApp['redirect']; - $redirect->setSession($this->currentApp->make('session.store')); + $this->currentApp->forgetInstance('redirect'); + Facade::clearResolvedInstance('redirect'); } } } \ No newline at end of file