File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1111 ],
1212 "require" : {
1313 "php" : " >=5.4.0" ,
14- "illuminate/support" : " 5.0.*|5.1.*|5.2.*|5.3.*" ,
15- "illuminate/validation" : " 5.0.*|5.1.*|5.2.*|5.3.*" ,
16- "illuminate/translation" : " 5.0.*|5.1.*|5.2.*|5.3.*"
14+ "illuminate/support" : " 5.0.*|5.1.*|5.2.*|5.3.*|5.4.* " ,
15+ "illuminate/validation" : " 5.0.*|5.1.*|5.2.*|5.3.*|5.4.* " ,
16+ "illuminate/translation" : " 5.0.*|5.1.*|5.2.*|5.3.*|5.4.* "
1717 },
1818 "require-dev" : {
1919 "mockery/mockery" : " ~0.9" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function register()
3232 {
3333 $ this ->mergeConfigFrom (__DIR__ .'/config/config.php ' , 'shopping_cart ' );
3434
35- $ this ->app [ 'cart ' ] = $ this -> app -> share ( function ($ app )
35+ $ this ->app -> singleton ( 'cart ' , function ($ app )
3636 {
3737 $ storage = $ app ['session ' ];
3838 $ events = $ app ['events ' ];
You can’t perform that action at this time.
0 commit comments