Failed Conditions
Pull Request — master (#2943)
by
unknown
03:33
created
inc/search.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -390,7 +390,7 @@
 block discarded – undo
390 390
  * @param string $path
391 391
  * @param bool $keeptxt
392 392
  *
393
- * @return mixed|string
393
+ * @return string
394 394
  */
395 395
 function pathID($path, $keeptxt=false)
396 396
 {
Please login to merge, or discard this patch.
inc/Search/FulltextSearch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -360,7 +360,7 @@
 block discarded – undo
360 360
      *
361 361
      * @param string $id page id
362 362
      * @param array $highlight
363
-     * @return mixed
363
+     * @return string
364 364
      */
365 365
     public static function snippet($id, $highlight)
366 366
     {
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
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 /**
13 13
  * Create an instance of the indexer.
14 14
  *
15
- * @return Doku_Indexer    a Doku_Indexer
15
+ * @return PageIndex    a Doku_Indexer
16 16
  *
17 17
  * @author Tom N Harris <[email protected]>
18 18
  */
Please login to merge, or discard this patch.
inc/Search/MetadataIndex.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
      * Delete keys of the page from metadata index
149 149
      *
150 150
      * @param string    $page   a page name
151
-     * @param mixed     $key    a key string or array of key=>value pairs
151
+     * @param mixed     $keys    a key string or array of key=>value pairs
152 152
      * @param bool      $requireLock
153 153
      * @return bool  If renaming the value has been successful, false on error
154 154
      *
Please login to merge, or discard this patch.
inc/Search/PageIndex.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      * @author Tom N Harris <[email protected]>
101 101
      * @author Michael Hamann <[email protected]>
102 102
      *
103
-     * @return int|string
103
+     * @return string
104 104
      */
105 105
     public function getVersion()
106 106
     {
Please login to merge, or discard this patch.
inc/Search/PagewordIndex.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -335,7 +335,6 @@
 block discarded – undo
335 335
      * only use this function if the index is already locked
336 336
      *
337 337
      * @param string    $page   a page name
338
-     * @param bool      $requireLock
339 338
      * @return bool  If renaming the value has been successful, false on error
340 339
      *
341 340
      * @author Tom N Harris <[email protected]>
Please login to merge, or discard this patch.