@@ -2,6 +2,9 @@ |
||
2 | 2 | |
3 | 3 | final class sspmod_monitor_TestCase_Cert_File extends sspmod_monitor_TestCase_Cert_Data |
4 | 4 | { |
5 | + /** |
|
6 | + * @param sspmod_monitor_TestSuite_Configuration $testsuite |
|
7 | + */ |
|
5 | 8 | public function __construct($testsuite, $input) |
6 | 9 | { |
7 | 10 | $input['certData'] = file_get_contents($input['certFile']); |
@@ -1,7 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use sspmod_monitor_State as State; |
|
4 | - |
|
5 | 3 | class sspmod_monitor_TestSuite extends sspmod_monitor_Test |
6 | 4 | { |
7 | 5 | private $monitor = null; |
@@ -32,6 +32,10 @@ |
||
32 | 32 | /* |
33 | 33 | * @return void |
34 | 34 | */ |
35 | + |
|
36 | + /** |
|
37 | + * @param sspmod_monitor_Monitor $monitor |
|
38 | + */ |
|
35 | 39 | private function setMonitor($monitor) |
36 | 40 | { |
37 | 41 | assert(is_a($monitor, 'sspmod_monitor_Monitor')); |
@@ -22,6 +22,10 @@ discard block |
||
22 | 22 | /* |
23 | 23 | * @return mixed |
24 | 24 | */ |
25 | + |
|
26 | + /** |
|
27 | + * @param string $item |
|
28 | + */ |
|
25 | 29 | protected function getInput($item = null) |
26 | 30 | { |
27 | 31 | assert(is_string($item) || is_null($item)); |
@@ -32,6 +36,10 @@ discard block |
||
32 | 36 | /* |
33 | 37 | * @return mixed |
34 | 38 | */ |
39 | + |
|
40 | + /** |
|
41 | + * @param string $item |
|
42 | + */ |
|
35 | 43 | public function getOutput($item = null) |
36 | 44 | { |
37 | 45 | assert(is_string($item) || is_null($item)); |
@@ -77,6 +85,11 @@ discard block |
||
77 | 85 | /* |
78 | 86 | * @return void |
79 | 87 | */ |
88 | + |
|
89 | + /** |
|
90 | + * @param string $category |
|
91 | + * @param string $message |
|
92 | + */ |
|
80 | 93 | protected function addMessage($state, $category, $subject, $message) |
81 | 94 | { |
82 | 95 | assert(is_int($state) && is_string($category) && is_string($subject) && is_string($message)); |
@@ -97,6 +110,10 @@ discard block |
||
97 | 110 | /* |
98 | 111 | * @return void |
99 | 112 | */ |
113 | + |
|
114 | + /** |
|
115 | + * @param string $index |
|
116 | + */ |
|
100 | 117 | protected function addOutput($value, $index = null) |
101 | 118 | { |
102 | 119 | if ($index === null) { |