File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ public function tokens(): array
3333 public function values (): array
3434 {
3535 return array_map (function (Token |Data $ token ) {
36- return $ token instanceof Data ? $ token ->values () : $ token ->value ;
36+ return $ token instanceof Data
37+ ? $ token ->values ()
38+ : $ token ->value ;
3739 }, $ this ->tokens );
3840 }
3941}
Original file line number Diff line number Diff line change 77use Illuminate \Contracts \Support \Arrayable ;
88use Stringable ;
99
10- abstract class Response implements Arrayable, Stringable
10+ class Response implements Arrayable, Stringable
1111{
1212 use HasTokens;
1313
@@ -34,7 +34,9 @@ public function tokens(): array
3434 public function toArray (): array
3535 {
3636 return array_map (function (Token |Data $ token ) {
37- return $ token instanceof Data ? $ token ->values () : $ token ->value ;
37+ return $ token instanceof Data
38+ ? $ token ->values ()
39+ : $ token ->value ;
3840 }, $ this ->tokens );
3941 }
4042
You can’t perform that action at this time.
0 commit comments