Completed
Push — main ( d560fc )
by Andreas
03:16 queued 02:08
created
src/Filter/FilterRegistry.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,6 @@
 block discarded – undo
36 36
 
37 37
 use Countable;
38 38
 use Iterator;
39
-use Org\Heigl\Hyphenator\Tokenizer\TokenizerRegistry;
40 39
 use Org\Heigl\Hyphenator\Tokenizer\TokenRegistry;
41 40
 
42 41
 /**
Please login to merge, or discard this patch.
src/Filter/SimpleFilter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
      * to act upon
108 108
      *
109 109
      * @see Filter::run()
110
-     * @return mixed
110
+     * @return string
111 111
      */
112 112
     protected function doConcatenate(TokenRegistry $tokens)
113 113
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
 
35 35
 namespace Org\Heigl\Hyphenator\Filter;
36 36
 
37
-use Org\Heigl\Hyphenator\Tokenizer\Token;
38 37
 use Org\Heigl\Hyphenator\Tokenizer\TokenRegistry;
39 38
 use Org\Heigl\Hyphenator\Tokenizer\WordToken;
40 39
 
Please login to merge, or discard this patch.
src/Hyphenator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
     /**
235 235
      * Add a Dictionary to the Hyphenator
236 236
      *
237
-     * @param Dictionary|string $dictionary The
237
+     * @param string $dictionary The
238 238
      * Dictionary wit hyphenation-Patterns to add to this Hyphenator
239 239
      *
240 240
      * @return Hyphenator
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
     /**
341 341
      * The constructor initializing the Object
342 342
      *
343
-     * @return void
343
+     * @return string
344 344
      */
345 345
     public function __construct()
346 346
     {
Please login to merge, or discard this patch.
src/Tokenizer/TokenizerRegistry.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
     /**
108 108
      * Pass the given string through the given tokenizers
109 109
      *
110
-     * @param string|TokenRegistry $string The String to be tokenized
110
+     * @param string $string The String to be tokenized
111 111
      *
112 112
      * @return TokenRegistry
113 113
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,6 @@
 block discarded – undo
35 35
 
36 36
 use Countable;
37 37
 use Iterator;
38
-use Org\Heigl\Hyphenator\Dictionary\Dictionary;
39 38
 
40 39
 /**
41 40
  * This class provides a registry for storing multiple Tokenizers
Please login to merge, or discard this patch.