@@ -7,11 +7,9 @@ |
||
| 7 | 7 | use Symfony\Component\Console\Input\InputDefinition; |
| 8 | 8 | use Symfony\Component\Console\Input\InputInterface; |
| 9 | 9 | use Symfony\Component\Console\Output\OutputInterface; |
| 10 | - |
|
| 11 | 10 | use UCD\Unicode\Character\Repository; |
| 12 | 11 | use UCD\Unicode\Character\WritableRepository; |
| 13 | 12 | use UCD\Exception\InvalidArgumentException; |
| 14 | -use UCD\Infrastructure\Repository\CharacterRepository\XMLRepository; |
|
| 15 | 13 | |
| 16 | 14 | class RepositoryTransferCommand extends RepositoryUtilisingCommand implements \SplObserver |
| 17 | 15 | { |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | */ |
| 21 | 21 | public function getCodepointsByBlock(Block $block) |
| 22 | 22 | { |
| 23 | - $comparator = function (CodepointAssigned $item) use ($block) { |
|
| 23 | + $comparator = function(CodepointAssigned $item) use ($block) { |
|
| 24 | 24 | return $item->getGeneralProperties() |
| 25 | 25 | ->getBlock() |
| 26 | 26 | ->equals($block); |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | public function getCodepointsByCategory(GeneralCategory $category) |
| 39 | 39 | { |
| 40 | - $comparator = function (CodepointAssigned $item) use ($category) { |
|
| 40 | + $comparator = function(CodepointAssigned $item) use ($category) { |
|
| 41 | 41 | return $item->getGeneralProperties() |
| 42 | 42 | ->getGeneralCategory() |
| 43 | 43 | ->equals($category); |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | */ |
| 55 | 55 | public function getCodepointsByScript(Script $script) |
| 56 | 56 | { |
| 57 | - $comparator = function (CodepointAssigned $item) use ($script) { |
|
| 57 | + $comparator = function(CodepointAssigned $item) use ($script) { |
|
| 58 | 58 | return $item->getGeneralProperties() |
| 59 | 59 | ->getScript() |
| 60 | 60 | ->equals($script); |