Completed
Push — master ( 36ff6e...723614 )
by Luke
04:14
created
src/LaraCartServiceProvider.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace LukePOLO\LaraCart;
4 4
 
5 5
 use Illuminate\Support\ServiceProvider;
6
-use LukePOLO\LaraCart\Contracts\LaraCartContract;
7 6
 
8 7
 /**
9 8
  * Class LaraCartServiceProvider
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,21 +38,21 @@
 block discarded – undo
38 38
      */
39 39
     public function register()
40 40
     {
41
-        $this->app->singleton('laracart', function ($app) {
41
+        $this->app->singleton('laracart', function($app) {
42 42
                 return new LaraCart();
43 43
             }
44 44
         );
45 45
 
46 46
         $this->app->bind(
47 47
             LaraCart::HASH,
48
-            function ($app, $data) {
48
+            function($app, $data) {
49 49
                 return md5(json_encode($data));
50 50
             }
51 51
         );
52 52
 
53 53
         $this->app->bind(
54 54
             LaraCart::RANHASH,
55
-            function () {
55
+            function() {
56 56
                 return str_random(40);
57 57
             }
58 58
         );
Please login to merge, or discard this patch.