Completed
Pull Request — master (#83)
by
unknown
01:55
created
src/Darryldecode/Cart/Cart.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -59,8 +59,8 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @param $session
61 61
      * @param $events
62
-     * @param $instanceName
63
-     * @param $session_key
62
+     * @param string $instanceName
63
+     * @param string $session_key
64 64
      * @param $config
65 65
      */
66 66
     public function __construct($session, $events, $instanceName, $session_key, $config)
@@ -625,7 +625,7 @@  discard block
 block discarded – undo
625 625
     /**
626 626
      * add row to cart collection
627 627
      *
628
-     * @param $id
628
+     * @param string $id
629 629
      * @param $item
630 630
      * @return bool
631 631
      */
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
649 649
     /**
650 650
      * save the cart
651 651
      *
652
-     * @param $cart CartCollection
652
+     * @param CartCollection $cart CartCollection
653 653
      */
654 654
     protected function save($cart)
655 655
     {
@@ -659,7 +659,7 @@  discard block
 block discarded – undo
659 659
     /**
660 660
      * save the cart conditions
661 661
      *
662
-     * @param $conditions
662
+     * @param CartConditionCollection $conditions
663 663
      */
664 664
     protected function saveConditions($conditions)
665 665
     {
@@ -753,7 +753,7 @@  discard block
 block discarded – undo
753 753
     }
754 754
 
755 755
     /**
756
-     * @param $name
756
+     * @param string $name
757 757
      * @param $value
758 758
      * @return mixed
759 759
      */
Please login to merge, or discard this patch.