File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ public function testJsonResourceToJsonSucceedsWithPriorErrors(): void
51
51
52
52
public function testJsonResourceToPrettyPrint (): void
53
53
{
54
- $ model = new class extends Model {
54
+ $ model = new class extends Model
55
+ {
55
56
};
56
57
57
58
$ resource = m::mock (JsonResource::class, ['resource ' => $ model ])
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ public function test_it_does_not_know_how_to_serialize_unknown_types(): void
13
13
$ this ->expectException (RuntimeException::class);
14
14
$ this ->expectExceptionMessage ('Unsupported [Illuminate \\JsonSchema \\Types \\Type@anonymous ' );
15
15
16
- $ type = new class extends Type {
16
+ $ type = new class extends Type
17
+ {
17
18
// anonymous type for triggering serializer failure
18
19
};
19
20
You can’t perform that action at this time.
0 commit comments