@@ -250,6 +250,9 @@ |
||
250 | 250 | return $version; |
251 | 251 | } |
252 | 252 | |
253 | + /** |
|
254 | + * @param PFUser $user |
|
255 | + */ |
|
253 | 256 | function getReviewForm($user) { |
254 | 257 | $html = ''; |
255 | 258 | $uh = UserHelper::instance(); |
@@ -47,6 +47,9 @@ |
||
47 | 47 | $this->mode = $mode; |
48 | 48 | } |
49 | 49 | |
50 | + /** |
|
51 | + * @param boolean $mdDiffers |
|
52 | + */ |
|
50 | 53 | function checkMdDifferences(&$mdDiffers) { |
51 | 54 | $html = ''; |
52 | 55 |
@@ -33,6 +33,9 @@ |
||
33 | 33 | $this->selectedValue = 'beginning'; |
34 | 34 | } |
35 | 35 | |
36 | + /** |
|
37 | + * @param string $v |
|
38 | + */ |
|
36 | 39 | function setDropDownName($v) { |
37 | 40 | $this->dropDownName = $v; |
38 | 41 | } |
@@ -37,6 +37,9 @@ |
||
37 | 37 | var $get_class_for_link; |
38 | 38 | var $hp; |
39 | 39 | |
40 | + /** |
|
41 | + * @param Docman_View_RawTree $view |
|
42 | + */ |
|
40 | 43 | function Docman_View_ItemTreeUlVisitor($view, $params = null) { |
41 | 44 | $this->view =& $view; |
42 | 45 | $this->get_action_on_icon =& new Docman_View_GetActionOnIconVisitor(); |
@@ -54,6 +54,8 @@ discard block |
||
54 | 54 | |
55 | 55 | /** |
56 | 56 | * |
57 | + * @param ArrayIterator $reportIter |
|
58 | + * @param boolean $isAdmin |
|
57 | 59 | */ |
58 | 60 | function _getReportTableContent($reportIter, $isAdmin, &$altRowClass) { |
59 | 61 | $hp = Codendi_HTMLPurifier::instance(); |
@@ -119,6 +121,7 @@ discard block |
||
119 | 121 | |
120 | 122 | /** |
121 | 123 | * |
124 | + * @param integer $reportId |
|
122 | 125 | */ |
123 | 126 | function _getReportSettings($reportId) { |
124 | 127 | $html = ''; |
@@ -63,6 +63,10 @@ |
||
63 | 63 | private $fileStorage; |
64 | 64 | private $lockFactory; |
65 | 65 | |
66 | + /** |
|
67 | + * @param string $className |
|
68 | + * @param string[] $methods |
|
69 | + */ |
|
66 | 70 | function getPartialMock($className, $methods) { |
67 | 71 | $partialName = $className.'Partial'.uniqid(); |
68 | 72 | Mock::generatePartial($className, $partialName, $methods); |
@@ -190,8 +190,14 @@ |
||
190 | 190 | * @param lb b is listened 0|1 |
191 | 191 | * @param lc c is listened 0|1 |
192 | 192 | * @param ld d is listened 0|1 |
193 | - * @param res expected result: item | from | from_wo_c | to | to_wo_b | none |
|
193 | + * @param res string result: item | from | from_wo_c | to | to_wo_b | none |
|
194 | 194 | * @param msg message to display if the test fail |
195 | + * @param integer $dr |
|
196 | + * @param integer $br |
|
197 | + * @param integer $cr |
|
198 | + * @param integer $lb |
|
199 | + * @param integer $lc |
|
200 | + * @param integer $ld |
|
195 | 201 | */ |
196 | 202 | function _runTest($dr, $br, $cr, $lb, $lc, $ld, $res, $msg = "%s") { |
197 | 203 | $msg = "[$dr, $br, $cr, $lb, $lc, $ld, $res] ". $msg; |
@@ -48,6 +48,9 @@ |
||
48 | 48 | var $user_can_admin; |
49 | 49 | var $docmanPath; |
50 | 50 | |
51 | + /** |
|
52 | + * @param HTTPRequest $request |
|
53 | + */ |
|
51 | 54 | function __construct($plugin, $docmanPath,$pluginPath, $themePath, $request) { |
52 | 55 | $this->request = $request; |
53 | 56 | $this->user = null; |
@@ -25,6 +25,10 @@ |
||
25 | 25 | |
26 | 26 | class DocmanWatermark_HTTPController extends DocmanWatermark_Controller { |
27 | 27 | |
28 | + /** |
|
29 | + * @param DocmanWatermarkPlugin $plugin |
|
30 | + * @param string $pluginPath |
|
31 | + */ |
|
28 | 32 | public function __construct($plugin, $docmanPath,$pluginPath, $themePath) { |
29 | 33 | parent::__construct($plugin, $docmanPath,$pluginPath, $themePath, HTTPRequest::instance()); |
30 | 34 | } |