File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ public function erase()
119
119
}
120
120
121
121
/**
122
- * Apply the callback only if the languages match.
122
+ * Apply the callback if the languages match.
123
123
*
124
124
* @param string $language
125
125
* @param callable $callback
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public function compileCommand(Command $command): iterable
76
76
77
77
$ handler = new $ class ();
78
78
79
- foreach ((new $ handler )->translate ($ command ) as $ instruction ) {
79
+ foreach ((new $ handler() )->translate ($ command ) as $ instruction ) {
80
80
yield $ instruction .self ::EOC ;
81
81
}
82
82
} else {
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function compileCommand(Command $command): iterable
68
68
if ($ this ->isSupport ($ command )) {
69
69
$ handler = self ::HANDLERS [\get_class ($ command )];
70
70
71
- foreach ((new $ handler )->translate ($ command ) as $ instruction ) {
71
+ foreach ((new $ handler() )->translate ($ command ) as $ instruction ) {
72
72
yield $ instruction .self ::EOC ;
73
73
}
74
74
} else {
You can’t perform that action at this time.
0 commit comments