Completed
Push — master ( fa5af0...879b95 )
by Luke
02:18
created
src/LaraCart.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -467,9 +467,9 @@
 block discarded – undo
467 467
     /**
468 468
      * Gets the total amount discounted
469 469
      *
470
-     * @param bool|true $format
470
+     * @param boolean $format
471 471
      *
472
-     * @return int|string
472
+     * @return string
473 473
      */
474 474
     public function totalDiscount($format = true)
475 475
     {
Please login to merge, or discard this patch.
src/LaraCartServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,21 +43,21 @@
 block discarded – undo
43 43
 
44 44
         $this->app->singleton(
45 45
             'laracart',
46
-            function ($app) {
46
+            function($app) {
47 47
                 return $app->make(LaraCartContract::class);
48 48
             }
49 49
         );
50 50
 
51 51
         $this->app->bind(
52 52
             LaraCart::HASH,
53
-            function ($app, $data) {
53
+            function($app, $data) {
54 54
                 return md5(json_encode($data));
55 55
             }
56 56
         );
57 57
 
58 58
         $this->app->bind(
59 59
             LaraCart::RANHASH,
60
-            function () {
60
+            function() {
61 61
                 return str_random(40);
62 62
             }
63 63
         );
Please login to merge, or discard this patch.