@@ -10,7 +10,6 @@ |
||
10 | 10 | use UCD\Unicode\Character\WritableRepository; |
11 | 11 | use UCD\Unicode\Codepoint; |
12 | 12 | use UCD\Unicode\CodepointAssigned; |
13 | - |
|
14 | 13 | use UCD\Infrastructure\Repository\CharacterRepository\FileRepository\CharacterSlicer; |
15 | 14 | use UCD\Infrastructure\Repository\CharacterRepository\FileRepository\Property; |
16 | 15 | use UCD\Infrastructure\Repository\CharacterRepository\FileRepository\PropertyAggregators; |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | */ |
90 | 90 | public function onlyCharacters() |
91 | 91 | { |
92 | - return $this->filterWith(function (CodepointAssigned $assigned) { |
|
92 | + return $this->filterWith(function(CodepointAssigned $assigned) { |
|
93 | 93 | return $assigned instanceof Character; |
94 | 94 | }); |
95 | 95 | } |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | */ |
100 | 100 | public function onlyNonCharacters() |
101 | 101 | { |
102 | - return $this->filterWith(function (CodepointAssigned $assigned) { |
|
102 | + return $this->filterWith(function(CodepointAssigned $assigned) { |
|
103 | 103 | return $assigned instanceof NonCharacter; |
104 | 104 | }); |
105 | 105 | } |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | */ |
110 | 110 | public function onlySurrogates() |
111 | 111 | { |
112 | - return $this->filterWith(function (CodepointAssigned $assigned) { |
|
112 | + return $this->filterWith(function(CodepointAssigned $assigned) { |
|
113 | 113 | return $assigned instanceof Surrogate; |
114 | 114 | }); |
115 | 115 | } |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public function getCodepointsByBlock(Block $block) |
20 | 20 | { |
21 | - $comparator = function (CodepointAssigned $item) use ($block) { |
|
21 | + $comparator = function(CodepointAssigned $item) use ($block) { |
|
22 | 22 | return $item->getGeneralProperties() |
23 | 23 | ->getBlock() |
24 | 24 | ->equals($block); |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | */ |
36 | 36 | public function getCodepointsByCategory(GeneralCategory $category) |
37 | 37 | { |
38 | - $comparator = function (CodepointAssigned $item) use ($category) { |
|
38 | + $comparator = function(CodepointAssigned $item) use ($category) { |
|
39 | 39 | return $item->getGeneralProperties() |
40 | 40 | ->getGeneralCategory() |
41 | 41 | ->equals($category); |