@@ -59,6 +59,9 @@ discard block |
||
59 | 59 | |
60 | 60 | |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $url |
|
64 | + */ |
|
62 | 65 | protected function getCapture($url) |
63 | 66 | { |
64 | 67 | $this->logInWithPermission('ADMIN'); |
@@ -71,6 +74,9 @@ discard block |
||
71 | 74 | return $r; |
72 | 75 | } |
73 | 76 | |
77 | + /** |
|
78 | + * @param string $url |
|
79 | + */ |
|
74 | 80 | protected function getAndCheckForError($url) |
75 | 81 | { |
76 | 82 | $this->logInWithPermission('ADMIN'); |
@@ -40,6 +40,11 @@ |
||
40 | 40 | $this->internalCheck("domain.but.no.user", "Invalid, no user part", false); |
41 | 41 | } |
42 | 42 | |
43 | + /** |
|
44 | + * @param string $email |
|
45 | + * @param string $checkText |
|
46 | + * @param boolean $expectSuccess |
|
47 | + */ |
|
43 | 48 | public function internalCheck($email, $checkText, $expectSuccess) |
44 | 49 | { |
45 | 50 | $field = new EmailField("MyEmail"); |
@@ -14,6 +14,7 @@ |
||
14 | 14 | /** |
15 | 15 | * Small helper to render templates from strings |
16 | 16 | * Cloned from SSViewerTest |
17 | + * @param string $templateString |
|
17 | 18 | */ |
18 | 19 | private function render($templateString, $data = null) |
19 | 20 | { |
@@ -98,6 +98,9 @@ discard block |
||
98 | 98 | return $this; |
99 | 99 | } |
100 | 100 | |
101 | + /** |
|
102 | + * @param string $name |
|
103 | + */ |
|
101 | 104 | public function setName($name) |
102 | 105 | { |
103 | 106 | parent::setName($name); |
@@ -137,6 +140,9 @@ discard block |
||
137 | 140 | return $this->html5; |
138 | 141 | } |
139 | 142 | |
143 | + /** |
|
144 | + * @param boolean $bool |
|
145 | + */ |
|
140 | 146 | public function setHTML5($bool) |
141 | 147 | { |
142 | 148 | $this->html5 = $bool; |
@@ -146,7 +152,7 @@ discard block |
||
146 | 152 | /** |
147 | 153 | * Assign value posted from form submission |
148 | 154 | * |
149 | - * @param mixed $value |
|
155 | + * @param string $value |
|
150 | 156 | * @param mixed $data |
151 | 157 | * @return $this |
152 | 158 | */ |
@@ -335,7 +341,7 @@ discard block |
||
335 | 341 | /** |
336 | 342 | * Assign value from iso8601 string |
337 | 343 | * |
338 | - * @param mixed $value |
|
344 | + * @param string $value |
|
339 | 345 | * @param mixed $data |
340 | 346 | * @return $this |
341 | 347 | */ |
@@ -437,7 +443,7 @@ discard block |
||
437 | 443 | /** |
438 | 444 | * Tidy up iso8601-ish date, or approximation |
439 | 445 | * |
440 | - * @param string $date Date in ISO 8601 or approximate form |
|
446 | + * @param string $datetime |
|
441 | 447 | * @return string iso8601 date, or null if not valid |
442 | 448 | */ |
443 | 449 | public function tidyISO8601($datetime) |
@@ -532,6 +538,9 @@ discard block |
||
532 | 538 | return $this; |
533 | 539 | } |
534 | 540 | |
541 | + /** |
|
542 | + * @param boolean $bool |
|
543 | + */ |
|
535 | 544 | public function setReadonly($bool) |
536 | 545 | { |
537 | 546 | parent::setReadonly($bool); |