Skip to content

Commit 8c37a10

Browse files
GautierDeleStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent ae122b3 commit 8c37a10

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/Feature/Controllers/MutateUpdateOperationsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,11 +1269,11 @@ public function test_updating_a_resource_with_updating_belongs_to_many_relation_
12691269
'belongsToManyRelation' => [
12701270
[
12711271
'operation' => 'update',
1272-
'key' => $belongsToManyToUpdate->getKey(),
1272+
'key' => $belongsToManyToUpdate->getKey(),
12731273
'pivot' => [
12741274
'number' => 20,
12751275
],
1276-
]
1276+
],
12771277
],
12781278
],
12791279
],

tests/Support/Rest/Resources/ConstrainedHasManyResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ConstrainedHasManyResource extends Resource
1515
public function rules(RestRequest $request)
1616
{
1717
return [
18-
'number' => 'required'
18+
'number' => 'required',
1919
];
2020
}
2121

tests/Support/Rest/Resources/ConstrainedResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function relations(RestRequest $request): array
2222
BelongsTo::make('belongsToRelation', BelongsToResource::class)
2323
->prohibitedOnCreation()
2424
->prohibitedOnUpdate(),
25-
HasMany::make('hasManyRelation', ConstrainedHasManyResource::class)
25+
HasMany::make('hasManyRelation', ConstrainedHasManyResource::class),
2626
];
2727
}
2828

0 commit comments

Comments
 (0)