Completed
Push — master ( 9d10c2...bf46e5 )
by Lars
05:14
created
src/Intraface/modules/shop/BasketEvaluation.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      * Constructor
36 36
      *
37
-     * @param object $kernel Kernel registry
38 37
      * @param int    $id     Id of the BasketEvaluation
39 38
      *
40 39
      * @return void
@@ -106,6 +105,9 @@  discard block
 block discarded – undo
106 105
         return true;
107 106
     }
108 107
 
108
+    /**
109
+     * @param Struct $input
110
+     */
109 111
     function validate($input)
110 112
     {
111 113
         $validator = new Intraface_Validator($this->error);
Please login to merge, or discard this patch.
src/Intraface/modules/shop/Coordinator.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -226,7 +226,6 @@  discard block
 block discarded – undo
226 226
      *
227 227
      * @param array $input    Array with customer data
228 228
      * @param array $products Array with products
229
-     * @param object $mailer mailer to send e-mail
230 229
      *
231 230
      * @return integer Order id
232 231
      */
@@ -392,9 +391,9 @@  discard block
 block discarded – undo
392 391
      * @param integer $order_id
393 392
      * @param integer $transaction_number
394 393
      * @param integer $transaction_status
395
-     * @param float   $transaction_amount
394
+     * @param integer $amount
396 395
      *
397
-     * @return boolean
396
+     * @return integer
398 397
      */
399 398
     public function addOnlinePayment($order_id, $transaction_number, $transaction_status, $amount)
400 399
     {
@@ -434,6 +433,9 @@  discard block
 block discarded – undo
434 433
         }
435 434
     }
436 435
 
436
+    /**
437
+     * @param integer $payment_id
438
+     */
437 439
     private function sendEmailOnOnlinePayment($payment_id)
438 440
     {
439 441
         $this->kernel->useShared('email');
Please login to merge, or discard this patch.
src/Intraface/modules/shop/DiscountCampaignGateway.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -65,6 +65,7 @@
 block discarded – undo
65 65
     /**
66 66
      * Find a variation from id
67 67
      * 
68
+     * @param integer $id
68 69
      * @return object Intraface_modules_product_Variation_OneAttributeGroup or Intraface_modules_product_Variation_TwoAttributeGroups
69 70
      */
70 71
     public function findById($id)
Please login to merge, or discard this patch.
src/Intraface/modules/shop/FeaturedProducts.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @param string $headline Headline
37 36
      * @param object $keyword  Keyword object
37
+     * @param string $description
38 38
      *
39
-     * @return integer
39
+     * @return boolean
40 40
      */
41 41
     function add($description, $keyword)
42 42
     {
Please login to merge, or discard this patch.
src/Intraface/modules/shop/Shop.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
         return 'Create';
88 88
     }
89 89
 
90
+    /**
91
+     * @return string
92
+     */
90 93
     function getType()
91 94
     {
92 95
         return $this->context->context->getType();
Please login to merge, or discard this patch.
src/Intraface/modules/todo/TodoItem.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     /**
19 19
      * Constructor
20 20
      *
21
-     * @param object  $todo Todo liste
21
+     * @param TodoList  $todo Todo liste
22 22
      * @param integer $id   Id for item
23 23
      *
24 24
      * @return void
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      *
160 160
      * @param object $db Database object
161 161
      *
162
-     * @return object
162
+     * @return Ilib_Position
163 163
      */
164 164
     public function getPosition($db)
165 165
     {
Please login to merge, or discard this patch.
src/Intraface/modules/todo/TodoList.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      *
110 110
      * @param integer $id Id for specific item
111 111
      *
112
-     * @return array
112
+     * @return TodoItem
113 113
      */
114 114
     public function getItem($id = 0)
115 115
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      *
125 125
      * @deprecated
126 126
      *
127
-     * @return array
127
+     * @return TodoItem
128 128
      */
129 129
     private function loadItem($id = 0)
130 130
     {
Please login to merge, or discard this patch.
src/Intraface/modules/webshop/Basket.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * @param integer $product_id Product to remove
88 88
      * @param integer $quantity   How many should be removed
89 89
      *
90
-     * @return boelean
90
+     * @return boolean
91 91
      */
92 92
     public function remove($product_id, $quantity = 1)
93 93
     {
Please login to merge, or discard this patch.
src/Intraface/modules/webshop/BasketEvaluation.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@
 block discarded – undo
112 112
         return true;
113 113
     }
114 114
 
115
+    /**
116
+     * @param Struct $input
117
+     */
115 118
     function validate($input)
116 119
     {
117 120
         $validator = new Intraface_Validator($this->error);
Please login to merge, or discard this patch.