Completed
Push — master ( 6ed6e7...ca5679 )
by Lars
26:16 queued 07:58
created
src/Intraface/XMLRPC/CMS/Server.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
  */
10 10
 class Intraface_XMLRPC_CMS_Server0300 extends Intraface_XMLRPC_Server0100
11 11
 {
12
+    /**
13
+     * @param integer $site_id
14
+     */
12 15
     private function factory($site_id)
13 16
     {
14 17
         if (!$this->kernel->weblogin->hasModuleAccess('cms')) { // -2
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/CMS/Server0300.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
  */
10 10
 class Intraface_XMLRPC_CMS_Server0300 extends Intraface_XMLRPC_Server0100
11 11
 {
12
+    /**
13
+     * @param integer $site_id
14
+     */
12 15
     private function factory($site_id)
13 16
     {
14 17
         if (!$this->kernel->weblogin->hasModuleAccess('cms')) { // -2
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Contact/Server.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      *
62 62
      * @param struct $credentials Credentials to use the server
63 63
      *
64
-     * @return array
64
+     * @return boolean
65 65
      */
66 66
     protected function checkCredentials($credentials)
67 67
     {
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Server.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      *
62 62
      * @param struct $credentials Credentials to use the server
63 63
      *
64
-     * @return array
64
+     * @return boolean
65 65
      */
66 66
     protected function checkCredentials($credentials)
67 67
     {
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Shop/Server.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
      * @param string  $text              Extra text to the itemline
261 261
      * @param integer $product_detail_id Product detail id
262 262
      *
263
-     * @return mixed
263
+     * @return boolean
264 264
      */
265 265
     public function changeProductInBasket($credentials, $product_id, $quantity, $text = '', $product_detail_id = 0)
266 266
     {
@@ -607,7 +607,7 @@  discard block
 block discarded – undo
607 607
      *
608 608
      * @param struct $credentials Credentials to use the server
609 609
      *
610
-     * @return array
610
+     * @return boolean
611 611
      */
612 612
     private function checkCredentials($credentials)
613 613
     {
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Shop/Server0004.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -399,7 +399,6 @@  discard block
 block discarded – undo
399 399
      *
400 400
      * @param struct  $credentials Credentials to use the server
401 401
      * @param integer $shop_id    Id for the shop
402
-     * @param integer $id          Product id
403 402
      *
404 403
      * @return array
405 404
      */
@@ -578,7 +577,7 @@  discard block
 block discarded – undo
578 577
      *
579 578
      * @param struct  $credentials       Credentials to use the server
580 579
      * @param integer $shop_id    Id for the shop
581
-     * @param integer $produt_id         Product id to add
580
+     * @param integer $product_id         Product id to add
582 581
      * @param integer $product_variation_id Product variation id to change
583 582
      * @param integer $quantity          Optional quantity
584 583
      * @param string  $text              Extra text to the itemline
@@ -621,7 +620,7 @@  discard block
 block discarded – undo
621 620
      * @param string  $text              Extra text to the itemline
622 621
      * @param integer $product_detail_id Product detail id
623 622
      *
624
-     * @return mixed
623
+     * @return boolean
625 624
      */
626 625
     public function changeProductInBasket($credentials, $shop_id, $product_id, $product_variation_id, $quantity, $text = '', $product_detail_id = 0)
627 626
     {
@@ -1077,6 +1076,7 @@  discard block
 block discarded – undo
1077 1076
     /**
1078 1077
      * Initialize the webshop
1079 1078
      *
1079
+     * @param integer $shop_id
1080 1080
      * @return void
1081 1081
      */
1082 1082
     private function _factoryWebshop($shop_id)
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Shop/Server0100.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -250,6 +250,7 @@  discard block
 block discarded – undo
250 250
      * Formats array to return from product list from Doctrine
251 251
      *
252 252
      * @param object $doctrine_products Doctrine_Collection
253
+     * @param integer $attribute_id
253 254
      * @return array with products
254 255
      */
255 256
     private function createDoctrineProductsListArray($doctrine_products, $attribute_id = null)
@@ -563,7 +564,6 @@  discard block
 block discarded – undo
563 564
      *
564 565
      * @param struct  $credentials Credentials to use the server
565 566
      * @param integer $shop_id    Id for the shop
566
-     * @param integer $id          Product id
567 567
      *
568 568
      * @return array
569 569
      */
@@ -741,7 +741,7 @@  discard block
 block discarded – undo
741 741
      *
742 742
      * @param struct  $credentials       Credentials to use the server
743 743
      * @param integer $shop_id    Id for the shop
744
-     * @param integer $produt_id         Product id to add
744
+     * @param integer $product_id         Product id to add
745 745
      * @param integer $product_variation_id Product variation id to change
746 746
      * @param integer $quantity          Optional quantity
747 747
      * @param string  $text              Extra text to the itemline
@@ -784,7 +784,7 @@  discard block
 block discarded – undo
784 784
      * @param string  $text              Extra text to the itemline
785 785
      * @param integer $product_detail_id Product detail id
786 786
      *
787
-     * @return mixed
787
+     * @return boolean
788 788
      */
789 789
     public function changeProductInBasket($credentials, $shop_id, $product_id, $product_variation_id, $quantity, $text = '', $product_detail_id = 0)
790 790
     {
@@ -1238,6 +1238,7 @@  discard block
 block discarded – undo
1238 1238
     /**
1239 1239
      * Initialize the webshop
1240 1240
      *
1241
+     * @param integer $shop_id
1241 1242
      * @return void
1242 1243
      */
1243 1244
     private function _factoryWebshop($shop_id)
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Shop/Server2.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -212,7 +212,6 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @param struct  $credentials Credentials to use the server
214 214
      * @param integer $shop_id    Id for the shop
215
-     * @param integer $id          Product id
216 215
      *
217 216
      * @return array
218 217
      */
@@ -328,7 +327,7 @@  discard block
 block discarded – undo
328 327
      *
329 328
      * @param struct  $credentials       Credentials to use the server
330 329
      * @param integer $shop_id    Id for the shop
331
-     * @param integer $produt_id         Product id to add
330
+     * @param integer $product_id         Product id to add
332 331
      * @param integer $product_variation_id Product variation id to change
333 332
      * @param integer $quantity          Optional quantity
334 333
      * @param string  $text              Extra text to the itemline
@@ -371,7 +370,7 @@  discard block
 block discarded – undo
371 370
      * @param string  $text              Extra text to the itemline
372 371
      * @param integer $product_detail_id Product detail id
373 372
      *
374
-     * @return mixed
373
+     * @return boolean
375 374
      */
376 375
     public function changeProductInBasket($credentials, $shop_id, $product_id, $product_variation_id, $quantity, $text = '', $product_detail_id = 0)
377 376
     {
@@ -791,6 +790,7 @@  discard block
 block discarded – undo
791 790
     /**
792 791
      * Initialize the webshop
793 792
      *
793
+     * @param integer $shop_id
794 794
      * @return void
795 795
      */
796 796
     private function _factoryWebshop($shop_id)
Please login to merge, or discard this patch.
tests/unit/Accounting/VatPeriodTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@  discard block
 block discarded – undo
48 48
         $this->value['saldo'] = 100;
49 49
     }
50 50
 
51
+    /**
52
+     * @param string $type
53
+     */
51 54
     function getSaldo($type, $date_from, $date_to)
52 55
     {
53 56
 
@@ -79,6 +82,9 @@  discard block
 block discarded – undo
79 82
         return 1;
80 83
     }
81 84
 
85
+    /**
86
+     * @param integer $id
87
+     */
82 88
     function getAccount($id)
83 89
     {
84 90
         return new FakeVatPeriodAccount(new FakeVatPeriodYear, $id);
Please login to merge, or discard this patch.