File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -132,17 +132,11 @@ public function createSessionDriver($name, $config)
132
132
// When using the remember me functionality of the authentication services we
133
133
// will need to be set the encryption instance of the guard, which allows
134
134
// secure, encrypted cookie values to get generated for those cookies.
135
- if (method_exists ($ guard , 'setCookieJar ' )) {
136
- $ guard ->setCookieJar ($ this ->app ['cookie ' ]);
137
- }
135
+ $ guard ->setCookieJar ($ this ->app ['cookie ' ]);
138
136
139
- if (method_exists ($ guard , 'setDispatcher ' )) {
140
- $ guard ->setDispatcher ($ this ->app ['events ' ]);
141
- }
137
+ $ guard ->setDispatcher ($ this ->app ['events ' ]);
142
138
143
- if (method_exists ($ guard , 'setRequest ' )) {
144
- $ guard ->setRequest ($ this ->app ->refresh ('request ' , $ guard , 'setRequest ' ));
145
- }
139
+ $ guard ->setRequest ($ this ->app ->refresh ('request ' , $ guard , 'setRequest ' ));
146
140
147
141
if (isset ($ config ['remember ' ])) {
148
142
$ guard ->setRememberDuration ($ config ['remember ' ]);
You can’t perform that action at this time.
0 commit comments