Completed
Pull Request — master (#24)
by Lars
12:05
created
tests/unit/Product/VariationGatewayTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@
 block discarded – undo
6 6
     
7 7
     private $groups;
8 8
     
9
+    /**
10
+     * @param integer $groups
11
+     */
9 12
     public function __construct($groups)
10 13
     {
11 14
         $this->groups = $groups;
Please login to merge, or discard this patch.
tests/unit/Shop/ShopBasketEvaluationTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -2,6 +2,10 @@
 block discarded – undo
2 2
 class FakeShopEvaluationCoordinator
3 3
 {
4 4
     public $kernel;
5
+
6
+    /**
7
+     * @param Stub_Kernel $kernel
8
+     */
5 9
     function __construct($kernel)
6 10
     {
7 11
         $this->kernel = $kernel;
Please login to merge, or discard this patch.
tests/unit/Stock/StockTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -6,6 +6,10 @@
 block discarded – undo
6 6
 class FakeStockProduct
7 7
 {
8 8
     public $kernel;
9
+
10
+    /**
11
+     * @param Stub_Kernel $kernel
12
+     */
9 13
     function __construct($kernel)
10 14
     {
11 15
         $this->kernel = $kernel;
Please login to merge, or discard this patch.
tests/unit/Stub/Keyword.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -1,6 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 class MyKeyword extends Keyword
3 3
 {
4
+    /**
5
+     * @param FakeKeywordObject $object
6
+     */
4 7
     function __construct($object, $id = 0)
5 8
     {
6 9
         parent::__construct($object, $id);
@@ -113,6 +116,9 @@  discard block
 block discarded – undo
113 116
 
114 117
 class MyStringKeyword extends Keyword
115 118
 {
119
+    /**
120
+     * @param FakeKeywordObject $object
121
+     */
116 122
     function __construct($object, $id = 0)
117 123
     {
118 124
         parent::__construct($object, $id);
Please login to merge, or discard this patch.
tests/unit/Stub/Setting.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -12,6 +12,10 @@
 block discarded – undo
12 12
         return $this->setting[$type][$setting];
13 13
     }
14 14
 
15
+    /**
16
+     * @param string $type
17
+     * @param string $key
18
+     */
15 19
     function set($type, $key, $value)
16 20
     {
17 21
         $this->setting[$type][$key] = $value;
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/Newsletter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@
 block discarded – undo
294 294
      *
295 295
      * @param integer $id Contact id
296 296
      *
297
-     * @return object
297
+     * @return Contact
298 298
      */
299 299
     function getContact($id)
300 300
     {
Please login to merge, or discard this patch.
src/Intraface/Controller/TestLogin.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -47,6 +47,10 @@
 block discarded – undo
47 47
         return $this->render();
48 48
     }
49 49
 
50
+    /**
51
+     * @param string $username
52
+     * @param string $password
53
+     */
50 54
     protected function selectUser($username, $password)
51 55
     {
52 56
         $adapter = new Intraface_Auth_User($this->mdb2, $this->session()->sessionId(), $username, $password);
Please login to merge, or discard this patch.
src/Intraface/functions.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * This function is dynamically redefinable.
60 60
      * @see $GLOBALS['_global_function_callback_email']
61
+     * @param string $args
61 62
      */
62 63
     function autoop($args)
63 64
     {
Please login to merge, or discard this patch.
src/Intraface/Log.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@  discard block
 block discarded – undo
6 6
 
7 7
 interface Observer
8 8
 {
9
+    /**
10
+     * @return boolean
11
+     */
9 12
     function update($code, $msg);
10 13
 }
11 14
 
@@ -47,6 +50,9 @@  discard block
 block discarded – undo
47 50
         }
48 51
     }
49 52
 
53
+    /**
54
+     * @param string $table
55
+     */
50 56
     function tableExists($table)
51 57
     {
52 58
         $this->db->loadModule('Manager', null, true);
Please login to merge, or discard this patch.