Skip to content

Commit eb65adc

Browse files
lbauschbarryvdh
authored andcommitted
Use \Illuminate\Session\Store (#281)
1 parent 6226d33 commit eb65adc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Extension/Laravel/Session.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@
1313

1414
use Twig_Extension;
1515
use Twig_SimpleFunction;
16-
use Illuminate\Session\SessionManager;
16+
use Illuminate\Session\Store;
1717

1818
/**
1919
* Access Laravels session class in your Twig templates.
2020
*/
2121
class Session extends Twig_Extension
2222
{
2323
/**
24-
* @var \Illuminate\Session\SessionManager
24+
* @var \Illuminate\Session\Store
2525
*/
2626
protected $session;
2727

2828
/**
2929
* Create a new session extension
3030
*
31-
* @param \Illuminate\Session\SessionManager
31+
* @param \Illuminate\Session\Store
3232
*/
33-
public function __construct(SessionManager $session)
33+
public function __construct(Store $session)
3434
{
3535
$this->session = $session;
3636
}

0 commit comments

Comments
 (0)