Completed
Push — feature/OptGroups ( aae4de )
by Michael
15:14
created
lib/plugins/authpdo/auth.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
      * @param  string $clear
205 205
      * @param  string $name
206 206
      * @param  string $mail
207
-     * @param  null|array $grps
207
+     * @param  string[] $grps
208 208
      * @return bool|null
209 209
      */
210 210
     public function createUser($user, $clear, $name, $mail, $grps = null) {
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
      * Return a count of the number of user which meet $filter criteria
407 407
      *
408 408
      * @param  array $filter array of field/pattern pairs, empty array for no filter
409
-     * @return int
409
+     * @return boolean
410 410
      */
411 411
     public function getUserCount($filter = array()) {
412 412
         if(is_null($filter)) $filter = array();
Please login to merge, or discard this patch.
lib/plugins/authpdo/_test/mysql.test.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     /**
91 91
      * imports a database dump
92 92
      *
93
-     * @param $file
93
+     * @param string $file
94 94
      */
95 95
     protected function importDatabase($file) {
96 96
         // connect to database and import dump
Please login to merge, or discard this patch.
inc/DifferenceEngine.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -226,6 +226,7 @@  discard block
 block discarded – undo
226 226
      * of the two files do not match, and likewise that the last lines do not
227 227
      * match.  The caller must trim matching lines from the beginning and end
228 228
      * of the portions it is going to specify.
229
+     * @param double $nchunks
229 230
      */
230 231
     function _diag($xoff, $xlim, $yoff, $ylim, $nchunks) {
231 232
         $flip = false;
@@ -336,6 +337,10 @@  discard block
 block discarded – undo
336 337
      *
337 338
      * Note that XLIM, YLIM are exclusive bounds.
338 339
      * All line numbers are origin-0 and discarded lines are not counted.
340
+     * @param integer $xoff
341
+     * @param integer $xlim
342
+     * @param integer $yoff
343
+     * @param integer $ylim
339 344
      */
340 345
     function _compareseq($xoff, $xlim, $yoff, $ylim) {
341 346
         // Slide down the bottom initial diagonal.
@@ -918,6 +923,9 @@  discard block
 block discarded – undo
918 923
         $this->_tag = '';
919 924
     }
920 925
 
926
+    /**
927
+     * @param string $new_tag
928
+     */
921 929
     function _flushGroup($new_tag) {
922 930
         if ($this->_group !== '') {
923 931
             if ($this->_tag == 'mark')
@@ -1339,6 +1347,8 @@  discard block
 block discarded – undo
1339 1347
 
1340 1348
     /**
1341 1349
      * @access private
1350
+     * @param _DiffOp[] $edits1
1351
+     * @param _DiffOp[] $edits2
1342 1352
      */
1343 1353
     function _diff3($edits1, $edits2) {
1344 1354
         $edits = array();
Please login to merge, or discard this patch.
inc/Form/Form.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@
 block discarded – undo
286 286
      * Adds a label referencing another input element, allows HTML for content
287 287
      *
288 288
      * @param string $content
289
-     * @param string|Element $for
289
+     * @param string $for
290 290
      * @param int $pos
291 291
      * @return Element
292 292
      */
Please login to merge, or discard this patch.
lib/plugins/authplain/_test/escaping.test.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
     }
119 119
 
120 120
     /**
121
-     * @return bool|mixed
121
+     * @return boolean
122 122
      */
123 123
     public function getPregsplit_safe(){
124 124
         return $this->_pregsplit_safe;
Please login to merge, or discard this patch.
lib/plugins/auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
      * @param   string  $user    Username
184 184
      * @param   string  $pass    Cleartext Password
185 185
      * @param   bool    $sticky  Cookie should not expire
186
-     * @return  bool             true on successful auth
186
+     * @return  boolean|null             true on successful auth
187 187
      */
188 188
     public function trustExternal($user, $pass, $sticky = false) {
189 189
         /* some example:
Please login to merge, or discard this patch.
inc/Form/OptGroup.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@  discard block
 block discarded – undo
9 9
     /**
10 10
      * @param string $name The name of this form element
11 11
      * @param string $options The available options
12
-     * @param string $label The label text for this element (will be autoescaped)
13 12
      */
14 13
     public function __construct($name, $options) {
15 14
         parent::__construct('optGroup', array('label' => $name));
@@ -31,7 +30,7 @@  discard block
 block discarded – undo
31 30
      *                                  )
32 31
      *                 )
33 32
      *
34
-     * @param null|array $options
33
+     * @param string $options
35 34
      * @return $this|array
36 35
      */
37 36
     public function options($options = null) {
Please login to merge, or discard this patch.