Completed
Push — master ( 9d10c2...bf46e5 )
by Lars
05:14
created
tests/unit/Filehandler/InstanceHandlerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
         return new FileHandler($this->createKernel());
30 30
     }
31 31
 
32
+    /**
33
+     * @param string $file
34
+     */
32 35
     function createFile($file)
33 36
     {
34 37
         $data = array('file_name' => $file);
Please login to merge, or discard this patch.
tests/unit/Product/ProductDoctrineGatewayTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@  discard block
 block discarded – undo
36 36
         return new Intraface_modules_product_ProductDoctrine;
37 37
     }
38 38
 
39
+    /**
40
+     * @param string $name
41
+     */
39 42
     function createProduct($name)
40 43
     {
41 44
         $product = $this->createProductObject();
@@ -49,6 +52,10 @@  discard block
 block discarded – undo
49 52
         return $product;
50 53
     }
51 54
 
55
+    /**
56
+     * @param string $group_name
57
+     * @param string[] $attributes
58
+     */
52 59
     public function createAttribute($group_name, $attributes)
53 60
     {
54 61
         $group = new Intraface_modules_product_Attribute_Group;
Please login to merge, or discard this patch.
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/ShopGatewayTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@
 block discarded – undo
82 82
         return $this->context->getKernel();
83 83
     }
84 84
 
85
+    /**
86
+     * @return integer
87
+     */
85 88
     function getShopId()
86 89
     {
87 90
         if ($this->query('shop_id')) {
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/Controller/Login.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -54,6 +54,10 @@
 block discarded – undo
54 54
         return $this->render();
55 55
     }
56 56
 
57
+    /**
58
+     * @param string $username
59
+     * @param string $password
60
+     */
57 61
     protected function selectUser($username, $password)
58 62
     {
59 63
         $adapter = new Intraface_Auth_User($this->mdb2, $this->session()->sessionId(), $username, $password);
Please login to merge, or discard this patch.
src/Intraface/modules/cms/element/Gallery.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -5,6 +5,9 @@
 block discarded – undo
5 5
 class Intraface_modules_cms_element_Pagelist extends CMS_Element
6 6
 {
7 7
 
8
+    /**
9
+     * @param FakeCMSSection $section
10
+     */
8 11
     function __construct($section, $id = 0)
9 12
     {
10 13
         $this->value['type'] = 'pagelist';
Please login to merge, or discard this patch.