File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments