@@ -44,6 +44,8 @@ |
||
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * {@inheritDoc} |
| 47 | + * @param string $uri |
|
| 48 | + * @param string $encoding |
|
| 47 | 49 | */ |
| 48 | 50 | public function open($uri, $encoding = null, $options = 0) |
| 49 | 51 | { |
@@ -10,14 +10,11 @@ |
||
| 10 | 10 | use UCD\Unicode\Character\Repository; |
| 11 | 11 | use UCD\Unicode\Character\Repository\CharacterNotFoundException; |
| 12 | 12 | use UCD\Unicode\Codepoint; |
| 13 | -use UCD\Unicode\Codepoint\AggregatorRelay; |
|
| 14 | 13 | use UCD\Unicode\CodepointAssigned; |
| 15 | 14 | use UCD\Unicode\NonCharacter; |
| 16 | 15 | use UCD\Unicode\Surrogate; |
| 17 | - |
|
| 18 | 16 | use UCD\Exception\InvalidArgumentException; |
| 19 | 17 | use UCD\Exception\OutOfRangeException; |
| 20 | - |
|
| 21 | 18 | use UCD\Infrastructure\Repository\CharacterRepository\FileRepository\RangeFile\PHPRangeFileDirectory; |
| 22 | 19 | use UCD\Infrastructure\Repository\CharacterRepository\FileRepository\Serializer\PHPSerializer; |
| 23 | 20 | use UCD\Infrastructure\Repository\CharacterRepository\FileRepository; |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @return mixed |
|
| 43 | + * @return string |
|
| 44 | 44 | */ |
| 45 | 45 | private function readFile() |
| 46 | 46 | { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | - * @param array $items |
|
| 84 | + * @param string[] $items |
|
| 85 | 85 | * @return string |
| 86 | 86 | */ |
| 87 | 87 | private function generateFileContentForArray(array $items) |
@@ -110,7 +110,6 @@ discard block |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | - * @param array $items |
|
| 114 | 113 | * @return boolean |
| 115 | 114 | */ |
| 116 | 115 | private function isZippedFile() |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use PhpParser\Node\Scalar\String_; |
| 9 | 9 | use PhpParser\Node\Stmt\Return_; |
| 10 | 10 | use PhpParser\PrettyPrinter\Standard; |
| 11 | - |
|
| 12 | 11 | use UCD\Exception\UnexpectedValueException; |
| 13 | 12 | use UCD\Infrastructure\Repository\CharacterRepository\FileRepository\File; |
| 14 | 13 | |