@@ -36,7 +36,6 @@ |
||
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 | /** |
@@ -107,7 +107,7 @@ |
||
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 | { |
@@ -34,7 +34,6 @@ |
||
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 |
@@ -234,7 +234,7 @@ discard block |
||
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 |
||
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 | { |
@@ -107,7 +107,7 @@ |
||
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 | */ |
@@ -35,7 +35,6 @@ |
||
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 |