File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function getOperator(): string
4242 */
4343 public function getRaw (): string
4444 {
45- return '& ' .implode (array_map ( fn ( Filter $ filter ) => ( string ) $ filter , $ this ->filters ) );
45+ return '& ' .implode ($ this ->filters );
4646 }
4747
4848 /**
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function getOperator(): string
4242 */
4343 public function getRaw (): string
4444 {
45- return '| ' .implode (array_map ( fn ( Filter $ filter ) => ( string ) $ filter , $ this ->filters ) );
45+ return '| ' .implode ($ this ->filters );
4646 }
4747
4848 /**
Original file line number Diff line number Diff line change @@ -48,10 +48,7 @@ protected static function match(string $string): array
4848 */
4949 public static function assemble (Filter |array $ filters = []): string
5050 {
51- return implode (array_map (
52- fn (Filter $ filter ) => (string ) $ filter ,
53- Arr::wrap ($ filters )
54- ));
51+ return implode (Arr::wrap ($ filters ));
5552 }
5653
5754 /**
You can’t perform that action at this time.
0 commit comments