Skip to content

Commit ec5fe50

Browse files
authored
Merge pull request #80 from jarektkaczyk/0.2
Laravel 5.4 fix Session::set -> Session::put BC breaking call
2 parents 5c0d5a8 + 239ba9e commit ec5fe50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Torann/GeoIP/GeoIP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function __construct(Repository $config, SessionStore $session)
105105
*/
106106
function saveLocation()
107107
{
108-
$this->session->set('geoip-location', $this->location);
108+
$this->session->put('geoip-location', $this->location);
109109
}
110110

111111
/**

0 commit comments

Comments
 (0)