Skip to content

Commit 28e566f

Browse files
committedJul 8, 2020
cs
1 parent c347a9e commit 28e566f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎src/Label/Label.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function erase()
119119
}
120120

121121
/**
122-
* Apply the callback only if the languages match.
122+
* Apply the callback if the languages match.
123123
*
124124
* @param string $language
125125
* @param callable $callback

‎src/Language/Fingerprint.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function compileCommand(Command $command): iterable
7676

7777
$handler = new $class();
7878

79-
foreach ((new $handler)->translate($command) as $instruction) {
79+
foreach ((new $handler())->translate($command) as $instruction) {
8080
yield $instruction.self::EOC;
8181
}
8282
} else {

‎src/Language/Tspl.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function compileCommand(Command $command): iterable
6868
if ($this->isSupport($command)) {
6969
$handler = self::HANDLERS[\get_class($command)];
7070

71-
foreach ((new $handler)->translate($command) as $instruction) {
71+
foreach ((new $handler())->translate($command) as $instruction) {
7272
yield $instruction.self::EOC;
7373
}
7474
} else {

0 commit comments

Comments
 (0)
Please sign in to comment.