Failed Conditions
Pull Request — master (#2943)
by
unknown
04:02
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/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/TaskRunner.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use dokuwiki\Search\PageIndex;
7 7
 use dokuwiki\Sitemap\Mapper;
8 8
 use dokuwiki\Subscriptions\BulkSubscriptionSender;
9
-use Subscription;
10 9
 
11 10
 /**
12 11
  * Class TaskRunner
Please login to merge, or discard this patch.
inc/Search/PagewordIndex.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace dokuwiki\Search;
4 4
 
5 5
 use dokuwiki\Search\Tokenizer;
6
-use dokuwiki\Utf8;
7 6
 
8 7
 /**
9 8
  * Class DokuWiki Pageword Index (Singleton)
Please login to merge, or discard this patch.