File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,15 +100,15 @@ protected function registerUrlGenerator()
100100
101101 $ url = new UrlGenerator (
102102 $ routes , $ app ->rebinding (
103- 'request ' , $ this ->requestRebinder ()
104- ), $ app ['config ' ]['app.asset_url ' ]
103+ 'request ' , $ this ->requestRebinder ()
104+ ), $ app ['config ' ]['app.asset_url ' ]
105105 );
106106
107107 // Next we will set a few service resolvers on the URL generator so it can
108108 // get the information it needs to function. This just provides some of
109109 // the convenience features to this URL generator like "signed" URLs.
110110 $ url ->setSessionResolver (function () {
111- return $ this ->app ['session ' ];
111+ return $ this ->app ['session ' ] ?? null ;
112112 });
113113
114114 $ url ->setKeyResolver (function () {
You can’t perform that action at this time.
0 commit comments