Completed
Pull Request — master (#6783)
by Ingo
09:06
created
tests/php/Dev/DevAdminControllerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.
tests/php/Forms/EmailFieldTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -40,6 +40,11 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
tests/php/View/ContentNegotiatorTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -14,6 +14,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Forms/DatetimeField.php 1 patch
Doc Comments   +12 added lines, -3 removed lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.