Completed
Push — master ( 6cdff0...bbfe8d )
by darryl
9s
created
src/Darryldecode/Cart/Cart.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -79,8 +79,8 @@  discard block
 block discarded – undo
79 79
      *
80 80
      * @param $session
81 81
      * @param $events
82
-     * @param $instanceName
83
-     * @param $session_key
82
+     * @param string $instanceName
83
+     * @param string $session_key
84 84
      * @param $config
85 85
      */
86 86
     public function __construct($session, $events, $instanceName, $session_key, $config)
@@ -561,7 +561,7 @@  discard block
 block discarded – undo
561 561
     /**
562 562
      * get cart sub total
563 563
      *
564
-     * @return float
564
+     * @return string
565 565
      */
566 566
     public function getSubTotal()
567 567
     {
@@ -578,7 +578,7 @@  discard block
 block discarded – undo
578 578
     /**
579 579
      * the new total in which conditions are already applied
580 580
      *
581
-     * @return float
581
+     * @return string
582 582
      */
583 583
     public function getTotal()
584 584
     {
@@ -678,7 +678,7 @@  discard block
 block discarded – undo
678 678
     /**
679 679
      * add row to cart collection
680 680
      *
681
-     * @param $id
681
+     * @param string $id
682 682
      * @param $item
683 683
      */
684 684
     protected function addRow($id, $item)
@@ -697,7 +697,7 @@  discard block
 block discarded – undo
697 697
     /**
698 698
      * save the cart
699 699
      *
700
-     * @param $cart CartCollection
700
+     * @param CartCollection $cart CartCollection
701 701
      */
702 702
     protected function save($cart)
703 703
     {
@@ -707,7 +707,7 @@  discard block
 block discarded – undo
707 707
     /**
708 708
      * save the cart conditions
709 709
      *
710
-     * @param $conditions
710
+     * @param CartConditionCollection $conditions
711 711
      */
712 712
     protected function saveConditions($conditions)
713 713
     {
Please login to merge, or discard this patch.
src/Darryldecode/Cart/ItemCollection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * get the single price in which conditions are already applied
85 85
      *
86
-     * @return mixed|null
86
+     * @return string
87 87
      */
88 88
     public function getPriceWithConditions() 
89 89
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     /**
122 122
      * get the sum of price in which conditions are already applied
123 123
      *
124
-     * @return mixed|null
124
+     * @return string
125 125
      */
126 126
     public function getPriceSumWithConditions()
127 127
     {
Please login to merge, or discard this patch.