From 239ba9e654063d71ae016704bd681fd693e38477 Mon Sep 17 00:00:00 2001 From: Jarek Tkaczyk Date: Wed, 8 Mar 2017 11:16:59 +0800 Subject: [PATCH] Laravel 5.4 fix Session::set -> Session::put BC breaking call --- src/Torann/GeoIP/GeoIP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Torann/GeoIP/GeoIP.php b/src/Torann/GeoIP/GeoIP.php index 80692a6..693a8f0 100644 --- a/src/Torann/GeoIP/GeoIP.php +++ b/src/Torann/GeoIP/GeoIP.php @@ -105,7 +105,7 @@ public function __construct(Repository $config, SessionStore $session) */ function saveLocation() { - $this->session->set('geoip-location', $this->location); + $this->session->put('geoip-location', $this->location); } /**