Failed Conditions
Pull Request — master (#2358)
by Andreas
10:34 queued 07:30
created
lib/exe/css.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -484,6 +484,9 @@
 block discarded – undo
484 484
     protected $location;             // base url location of the CSS/Less file
485 485
     protected $relative_path = null;
486 486
 
487
+    /**
488
+     * @param string $file
489
+     */
487 490
     public function __construct($file) {
488 491
         $this->filepath = $file;
489 492
     }
Please login to merge, or discard this patch.
inc/Remote/Api.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@
 block discarded – undo
332 332
     /**
333 333
      * Transform file to xml
334 334
      *
335
-     * @param mixed $data
335
+     * @param string|boolean $data
336 336
      * @return mixed
337 337
      */
338 338
     public function toFile($data)
Please login to merge, or discard this patch.
lib/plugins/info/syntax.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * @param   int          $state   The lexer state for the match
50 50
      * @param   int          $pos     The character position of the matched text
51 51
      * @param   Doku_Handler $handler The Doku_Handler object
52
-     * @return  array Return an array with all data you want to use in render
52
+     * @return  string[] Return an array with all data you want to use in render
53 53
      */
54 54
     public function handle($match, $state, $pos, Doku_Handler $handler)
55 55
     {
Please login to merge, or discard this patch.
lib/plugins/authplain/auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      * @author  Andreas Gohr <[email protected]>
84 84
      * @param string $user
85 85
      * @param bool $requireGroups  (optional) ignored by this plugin, grps info always supplied
86
-     * @return array|false
86
+     * @return string
87 87
      */
88 88
     public function getUserData($user, $requireGroups = true)
89 89
     {
Please login to merge, or discard this patch.
lib/plugins/acl/admin.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -751,6 +751,8 @@
 block discarded – undo
751 751
      *
752 752
      * @author  Frank Schubert <[email protected]>
753 753
      * @author  Andreas Gohr <[email protected]>
754
+     * @param boolean $ispage
755
+     * @param string $name
754 756
      */
755 757
     protected function makeCheckboxes($setperm, $ispage, $name)
756 758
     {
Please login to merge, or discard this patch.
lib/plugins/usermanager/admin.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -1169,6 +1169,7 @@
 block discarded – undo
1169 1169
      *
1170 1170
      * @param array  $user   data of user
1171 1171
      * @param string &$error reference catched error message
1172
+     * @param string $error
1172 1173
      * @return bool whether successful
1173 1174
      */
1174 1175
     protected function importUser($user, &$error)
Please login to merge, or discard this patch.
inc/parser/metadata.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
      * keep track of internal links in $this->meta['relation']['references']
457 457
      *
458 458
      * @param string            $id   page ID to link to. eg. 'wiki:syntax'
459
-     * @param string|array|null $name name for the link, array for media file
459
+     * @param string $name name for the link, array for media file
460 460
      */
461 461
     public function internallink($id, $name = null)
462 462
     {
@@ -655,7 +655,7 @@  discard block
 block discarded – undo
655 655
      *
656 656
      * @param string $name
657 657
      *
658
-     * @return mixed|string
658
+     * @return string
659 659
      */
660 660
     public function _simpleTitle($name)
661 661
     {
Please login to merge, or discard this patch.
inc/Debug/PropertyDeprecationHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
      * Like property_exists but also check for non-visible private properties and returns which
102 102
      * class in the inheritance chain declared the property.
103 103
      * @param string $property
104
-     * @return string|bool Best guess for the class in which the property is defined.
104
+     * @return string|false Best guess for the class in which the property is defined.
105 105
      */
106 106
     private function deprecationHelperGetPropertyOwner($property)
107 107
     {
Please login to merge, or discard this patch.
inc/Cache/Cache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -54,6 +54,9 @@
 block discarded – undo
54 54
         return $this->_event;
55 55
     }
56 56
 
57
+    /**
58
+     * @param string $_event
59
+     */
57 60
     public function setEvent($_event)
58 61
     {
59 62
         $this->_event = $_event;
Please login to merge, or discard this patch.