@@ -93,7 +93,7 @@ |
||
93 | 93 | /** |
94 | 94 | * Create a new Instance of the Pattern |
95 | 95 | * |
96 | - * @return void |
|
96 | + * @return string |
|
97 | 97 | */ |
98 | 98 | public function __construct() |
99 | 99 | { |
@@ -92,7 +92,7 @@ |
||
92 | 92 | /** |
93 | 93 | * Cleanup the registry |
94 | 94 | * |
95 | - * @return Filter\FilterRegistry |
|
95 | + * @return FilterRegistry |
|
96 | 96 | */ |
97 | 97 | public function cleanup() |
98 | 98 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * to act upon |
60 | 60 | * |
61 | 61 | * @see Org\Heigl\Hyphenator\Filter\Filter::run() |
62 | - * @return \Org\Heigl\Hyphenator\Tokenizer\Token |
|
62 | + * @return t\TokenRegistry |
|
63 | 63 | */ |
64 | 64 | public function run(t\TokenRegistry $tokens) |
65 | 65 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * to act upon |
105 | 105 | * |
106 | 106 | * @see Org\Heigl\Hyphenator\Filter\Filter::run() |
107 | - * @return \Org\Heigl\Hyphenator\Tokenizer\Token |
|
107 | + * @return string |
|
108 | 108 | */ |
109 | 109 | protected function _concatenate(t\TokenRegistry $tokens) |
110 | 110 | { |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | /** |
127 | 127 | * Get the type of this token |
128 | 128 | * |
129 | - * @return \string |
|
129 | + * @return string |
|
130 | 130 | */ |
131 | 131 | public function getType() |
132 | 132 | { |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | /** |
151 | 151 | * Set the filtered content |
152 | 152 | * |
153 | - * @param \string $content The Filtered Content |
|
153 | + * @param string $content The Filtered Content |
|
154 | 154 | * |
155 | 155 | * @return Token |
156 | 156 | */ |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | /** |
165 | 165 | * Get the length of the contained (unhyphenated) token |
166 | 166 | * |
167 | - * @return \int |
|
167 | + * @return integer |
|
168 | 168 | */ |
169 | 169 | public function length() |
170 | 170 | { |
@@ -77,7 +77,7 @@ |
||
77 | 77 | /** |
78 | 78 | * Create a new Instance of the Dictionary |
79 | 79 | * |
80 | - * @return void |
|
80 | + * @return string |
|
81 | 81 | */ |
82 | 82 | public function __construct() |
83 | 83 | { |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | * @param \Org\Heigl\Hyphenator\Dictionary\Dictionary $dictionary The |
231 | 231 | * Dictionary wit hyphenation-Patterns to add to this Hyphenator |
232 | 232 | * |
233 | - * @return Org\Heigl\Hyphenator\Hyphenator |
|
233 | + * @return Hyphenator |
|
234 | 234 | */ |
235 | 235 | public function addDictionary($dictionary) |
236 | 236 | { |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | * non-standard-hyphenation-patterns |
251 | 251 | * |
252 | 252 | * @link http://hunspell.sourceforge.net/tb87nemeth.pdf |
253 | - * @return Org\Heigl\Hyphenator\Hyphenator |
|
253 | + * @return Hyphenator |
|
254 | 254 | */ |
255 | 255 | public function addFilter($filter) |
256 | 256 | { |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | /** |
302 | 302 | * Get the dictionaries |
303 | 303 | * |
304 | - * @return Dictionaries\DictionaryRegistry |
|
304 | + * @return Dictionary\DictionaryRegistry |
|
305 | 305 | */ |
306 | 306 | public function getDictionaries() |
307 | 307 | { |
@@ -331,7 +331,7 @@ discard block |
||
331 | 331 | /** |
332 | 332 | * The constructor initializing the Object |
333 | 333 | * |
334 | - * @return void |
|
334 | + * @return string |
|
335 | 335 | */ |
336 | 336 | public function __construct() |
337 | 337 | { |
@@ -404,7 +404,7 @@ discard block |
||
404 | 404 | * @param \Org\Heigl\Hyphenator\Tokenizer\TokenRegistry $registry The tokens |
405 | 405 | * to filter |
406 | 406 | * |
407 | - * @return \Org\Heigl\Hyphenator\Tokenizer\TokenRegistry |
|
407 | + * @return Tokenizer\TokenizerRegistry |
|
408 | 408 | */ |
409 | 409 | public function filter(Tokenizer\TokenRegistry $registry) |
410 | 410 | { |
@@ -541,7 +541,7 @@ discard block |
||
541 | 541 | * |
542 | 542 | * @param string $className the name of the class to load |
543 | 543 | * |
544 | - * @return void |
|
544 | + * @return boolean |
|
545 | 545 | */ |
546 | 546 | public static function __autoload($className) |
547 | 547 | { |
@@ -564,7 +564,7 @@ discard block |
||
564 | 564 | /** |
565 | 565 | * Register this packages autoloader with the autoload-stack |
566 | 566 | * |
567 | - * @return void |
|
567 | + * @return boolean |
|
568 | 568 | */ |
569 | 569 | public static function registerAutoload() |
570 | 570 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | /** |
92 | 92 | * Cleanup the registry |
93 | 93 | * |
94 | - * @return Tokenizer\TokenizerRegistry |
|
94 | + * @return TokenizerRegistry |
|
95 | 95 | */ |
96 | 96 | public function cleanup() |
97 | 97 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * |
106 | 106 | * @param string $string The String to be tokenized |
107 | 107 | * |
108 | - * @return \Org\Heigl\Hyphenator\TokenRegistry |
|
108 | + * @return TokenRegistry |
|
109 | 109 | */ |
110 | 110 | public function tokenize($string) |
111 | 111 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * to act upon |
60 | 60 | * |
61 | 61 | * @see Org\Heigl\Hyphenator\Filter\Filter::run() |
62 | - * @return \Org\Heigl\Hyphenator\Tokenizer\Token |
|
62 | + * @return t\TokenRegistry |
|
63 | 63 | */ |
64 | 64 | public function run(t\TokenRegistry $tokens) |
65 | 65 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * to act upon |
105 | 105 | * |
106 | 106 | * @see Org\Heigl\Hyphenator\Filter\Filter::run() |
107 | - * @return \Org\Heigl\Hyphenator\Tokenizer\Token |
|
107 | + * @return string |
|
108 | 108 | */ |
109 | 109 | protected function _concatenate(t\TokenRegistry $tokens) |
110 | 110 | { |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * |
75 | 75 | * THis will prepend and append a dot to the content for better hyphenation |
76 | 76 | * |
77 | - * @return \string |
|
77 | + * @return string |
|
78 | 78 | */ |
79 | 79 | public function getHyphenateContent() |
80 | 80 | { |
@@ -86,9 +86,9 @@ discard block |
||
86 | 86 | * |
87 | 87 | * This is done using the given quality value. |
88 | 88 | * |
89 | - * @param \int $quality The hyphenation quality to use |
|
89 | + * @param integer $quality The hyphenation quality to use |
|
90 | 90 | * |
91 | - * @return Token |
|
91 | + * @return string |
|
92 | 92 | */ |
93 | 93 | public function getMergedPattern($quality = \Org\Heigl\Hyphenator\Hyphenator::QUALITY_HIGHEST) |
94 | 94 | { |