diff --git a/src/Illuminate/Session/Store.php b/src/Illuminate/Session/Store.php index 6e76072fc6e6..bb8dc3374a84 100755 --- a/src/Illuminate/Session/Store.php +++ b/src/Illuminate/Session/Store.php @@ -718,7 +718,7 @@ public function setExists($value) */ public function token() { - return $this->get('_token'); + return (string) $this->get('_token'); } /**