Completed
Pull Request — master (#24)
by Lars
12:05
created
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.
tests/unit/CMS/CMSStubs.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -8,6 +8,10 @@  discard block
 block discarded – undo
8 8
     public $kernel;
9 9
     public $cmssite;
10 10
     public $dbquery;
11
+
12
+    /**
13
+     * @param FakeCMSSite $site
14
+     */
11 15
     function __construct($site)
12 16
     {
13 17
         $this->cmssite = $site;
@@ -37,6 +41,10 @@  discard block
 block discarded – undo
37 41
 {
38 42
     public $kernel;
39 43
     public $cmssite;
44
+
45
+    /**
46
+     * @param FakeCMSPage $page
47
+     */
40 48
     function __construct($page)
41 49
     {
42 50
         $this->cmspage = $page;
Please login to merge, or discard this patch.
tests/unit/CMS/PageTest.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
     public $kernel;
8 8
 
9
+    /**
10
+     * @param Stub_Kernel $kernel
11
+     */
9 12
     function __construct($kernel)
10 13
     {
11 14
         $this->kernel = $kernel;
Please login to merge, or discard this patch.
tests/unit/CMS/SectionTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
     public $kernel;
10 10
     public $cmssite;
11 11
 
12
+    /**
13
+     * @param Stub_Kernel $kernel
14
+     */
12 15
     function __construct($kernel)
13 16
     {
14 17
         $this->kernel = $kernel;
Please login to merge, or discard this patch.
tests/unit/Common/DBQueryTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
         }
53 53
     }
54 54
 
55
+    /**
56
+     * @param string $post
57
+     */
55 58
     function createPost($post)
56 59
     {
57 60
         $result = $this->db->exec('INSERT INTO ' . $this->table . ' (name) VALUES ('.$this->db->quote($post, 'text').')');
Please login to merge, or discard this patch.
tests/unit/Contact/ContactStubs.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -4,6 +4,9 @@
 block discarded – undo
4 4
     private $id = 1;
5 5
     public $kernel;
6 6
 
7
+    /**
8
+     * @param FakeContactKernel $kernel
9
+     */
7 10
     function __construct($kernel)
8 11
     {
9 12
         $this->kernel = $kernel;
Please login to merge, or discard this patch.
tests/unit/Debtor/DebtorTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -63,6 +63,10 @@  discard block
 block discarded – undo
63 63
 class FakeDebtorSetting
64 64
 {
65 65
 
66
+    /**
67
+     * @param string $type
68
+     * @param string $setting
69
+     */
66 70
     function get($type, $setting)
67 71
     {
68 72
 
@@ -145,6 +149,9 @@  discard block
 block discarded – undo
145 149
 
146 150
     }
147 151
 
152
+    /**
153
+     * @param Invoice $debtor
154
+     */
148 155
     function createPayment($debtor)
149 156
     {
150 157
         $payment = new Payment($debtor);
Please login to merge, or discard this patch.
tests/unit/Filehandler/file_functions.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -1,4 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2
+/**
3
+ * @param string $f
4
+ */
2 5
 function fht_deltree($f)
3 6
 {
4 7
 
@@ -16,6 +19,9 @@  discard block
 block discarded – undo
16 19
 }
17 20
 
18 21
 
22
+/**
23
+ * @param string $f
24
+ */
19 25
 function iht_deltree($f)
20 26
 {
21 27
 
Please login to merge, or discard this patch.
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.