@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | { |
| 43 | 43 | $aggregator = new Aggregator(); |
| 44 | 44 | |
| 45 | - $this->traverseWith(function (Codepoint $codepoint) use ($aggregator) { |
|
| 45 | + $this->traverseWith(function(Codepoint $codepoint) use ($aggregator) { |
|
| 46 | 46 | $aggregator->addCodepoint($codepoint); |
| 47 | 47 | }); |
| 48 | 48 | |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | { |
| 57 | 57 | $builder = new RegexBuilder(); |
| 58 | 58 | |
| 59 | - $this->traverseWith(function (Codepoint $codepoint) use ($builder) { |
|
| 59 | + $this->traverseWith(function(Codepoint $codepoint) use ($builder) { |
|
| 60 | 60 | $builder->addCodepoint($codepoint); |
| 61 | 61 | }); |
| 62 | 62 | |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | { |
| 133 | 133 | $characters = StringUtility::split($string, $encoding); |
| 134 | 134 | |
| 135 | - $mapper = function ($character) use ($encoding) { |
|
| 135 | + $mapper = function($character) use ($encoding) { |
|
| 136 | 136 | return Codepoint::fromEncodedCharacter($character, $encoding); |
| 137 | 137 | }; |
| 138 | 138 | |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | { |
| 200 | 200 | $characters = ''; |
| 201 | 201 | |
| 202 | - $this->traverseWith(function (Codepoint $codepoint) use ($convertTo, &$characters) { |
|
| 202 | + $this->traverseWith(function(Codepoint $codepoint) use ($convertTo, &$characters) { |
|
| 203 | 203 | $characters .= $codepoint->toEncodedCharacter($convertTo); |
| 204 | 204 | }); |
| 205 | 205 | |