Skip to content

Commit b525cf8

Browse files
committed
Adjust formatting
1 parent 48aec52 commit b525cf8

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/Connection/Responses/Data/Data.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

src/Connection/Responses/Response.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Illuminate\Contracts\Support\Arrayable;
88
use 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

0 commit comments

Comments
 (0)