Completed
Push — fix-2702-tests ( c0bbf3 )
by Henry
10:49 queued 07:28
created
bin/gittool.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@
 block discarded – undo
292 292
      * Returns the repository for the given extension
293 293
      *
294 294
      * @param $extension
295
-     * @return false|string
295
+     * @return string
296 296
      */
297 297
     private function getSourceRepo($extension) {
298 298
         /** @var helper_plugin_extension_extension $ext */
Please login to merge, or discard this patch.
inc/events.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
  * @param  callback $action             (optional, default=NULL) default action, a php callback function
229 229
  * @param  bool     $canPreventDefault  (optional, default=true) can hooks prevent the default action
230 230
  *
231
- * @return mixed                        the event results value after all event processing is complete
231
+ * @return boolean                        the event results value after all event processing is complete
232 232
  *                                      by default this is the return value of the default action however
233 233
  *                                      it can be set or modified by event handler hooks
234 234
  */
Please login to merge, or discard this patch.
inc/Form/TextareaElement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * This is the preferred way of setting the element's value
28 28
      *
29 29
      * @param null|string $value
30
-     * @return string|$this
30
+     * @return string
31 31
      */
32 32
     public function val($value = null) {
33 33
         if($value !== null) {
Please login to merge, or discard this patch.
inc/fulltext.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@
 block discarded – undo
324 324
  *
325 325
  * @param string $id page id
326 326
  * @param array $highlight
327
- * @return mixed
327
+ * @return string
328 328
  */
329 329
 function ft_snippet($id,$highlight){
330 330
     $text = rawWiki($id);
Please login to merge, or discard this patch.
inc/indexer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
  * @author Tom N Harris <[email protected]>
63 63
  * @author Michael Hamann <[email protected]>
64 64
  *
65
- * @return int|string
65
+ * @return string
66 66
  */
67 67
 function idx_get_version(){
68 68
     static $indexer_version = null;
Please login to merge, or discard this patch.
inc/io.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
  * @param string $file      filename
182 182
  * @param string $content
183 183
  * @param string $id        page id
184
- * @param int|bool $rev timestamp of revision
184
+ * @param integer $rev timestamp of revision
185 185
  * @return bool
186 186
  */
187 187
 function io_writeWikiPage($file, $content, $id, $rev=false) {
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
  * @author  Andreas Gohr <[email protected]>
489 489
  *
490 490
  * @param string $target filename
491
- * @return bool|int|string
491
+ * @return resource|null
492 492
  */
493 493
 function io_mkdir_p($target){
494 494
     global $conf;
Please login to merge, or discard this patch.
inc/IXR_Library.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1080,7 +1080,7 @@
 block discarded – undo
1080 1080
 
1081 1081
     /**
1082 1082
      * @param string $method
1083
-     * @return mixed
1083
+     * @return string
1084 1084
      */
1085 1085
     function methodHelp($method) {
1086 1086
         return $this->help[$method];
Please login to merge, or discard this patch.
inc/Mailer.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
      * Add the To: recipients
293 293
      *
294 294
      * @see cleanAddress
295
-     * @param string|string[]  $address Multiple adresses separated by commas or as array
295
+     * @param string  $address Multiple adresses separated by commas or as array
296 296
      */
297 297
     public function to($address) {
298 298
         $this->setHeader('To', $address, false);
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
      * Add the Bcc: recipients
313 313
      *
314 314
      * @see cleanAddress
315
-     * @param string|string[]  $address Multiple adresses separated by commas or as array
315
+     * @param string  $address Multiple adresses separated by commas or as array
316 316
      */
317 317
     public function bcc($address) {
318 318
         $this->setHeader('Bcc', $address, false);
Please login to merge, or discard this patch.
inc/pageutils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -492,7 +492,7 @@
 block discarded – undo
492 492
  * @param string $ns namespace which is context of id
493 493
  * @param string &$page (reference) relative media id, updated to resolved id
494 494
  * @param bool &$exists (reference) updated with existance of media
495
- * @param int|string $rev
495
+ * @param string $rev
496 496
  * @param bool $date_at
497 497
  */
498 498
 function resolve_mediaid($ns,&$page,&$exists,$rev='',$date_at=false){
Please login to merge, or discard this patch.