updates for Laravel 5.4

This commit is contained in:
Stefan Roehle committed 2017-01-05 18:52:43 +01:00
1 parent 8629fe295b
commit 92f3ba71c5
3 files changed
+15 -14

No files matched your search

+5 -5
View File
@@ -7,7 +7,7 @@ use BadMethodCallException;
use Illuminate\Support\Collection;
use Illuminate\Support\HtmlString;
use Illuminate\Contracts\View\Factory;
use Illuminate\Session\SessionInterface;
use Illuminate\Contracts\Session\Session;
use Illuminate\Support\Traits\Macroable;
use Illuminate\Contracts\Routing\UrlGenerator;
@@ -49,7 +49,7 @@ class FormBuilder
/**
* The session store implementation.
*
* @var \Illuminate\Session\SessionInterface
* @var \Illuminate\Contracts\Session\Session
*/
protected $session;
@@ -1164,7 +1164,7 @@ class FormBuilder
/**
* Get the session store implementation.
*
* @return \Illuminate\Session\SessionInterface $session
* @return \Illuminate\Contracts\Session\Session $session
*/
public function getSessionStore()
{
@@ -1174,11 +1174,11 @@ class FormBuilder
/**
* Set the session store implementation.
*
* @param \Illuminate\Session\SessionInterface $session
* @param \Illuminate\Contracts\Session\Session $session
*
* @return $this
*/
public function setSessionStore(SessionInterface $session)
public function setSessionStore(Session $session)
{
$this->session = $session;