Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinGab authored and github-actions[bot] committed Dec 13, 2022
1 parent b7159d1 commit 2d8ee75
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/Requests/StoreAddressRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ public function authorize()
public function rules()
{
return [
"label" => ["string", "nullable"],
"first_name" => ["string", "nullable"],
"last_name" => ["string", "nullable"],
"organization" => ["string", "nullable"],
"country" => ["string", "nullable", "min:2", "max:2"],
"street" => ["string", "nullable"],
"state" => ["string", "nullable"],
"city" => ["string", "nullable"],
"postal_code" => ["string", "nullable"],
"latitude" => ["numeric", "nullable"],
"longitude" => ["numeric", "nullable"],
"boundaries" => ["array", "nullable"],
"is_primary" => ["boolean", "sometimes"],
"is_billing" => ["boolean", "sometimes"],
"is_shipping" => ["boolean", "sometimes"],
"type" => ["boolean", "nullable"],
'label' => ['string', 'nullable'],
'first_name' => ['string', 'nullable'],
'last_name' => ['string', 'nullable'],
'organization' => ['string', 'nullable'],
'country' => ['string', 'nullable', 'min:2', 'max:2'],
'street' => ['string', 'nullable'],
'state' => ['string', 'nullable'],
'city' => ['string', 'nullable'],
'postal_code' => ['string', 'nullable'],
'latitude' => ['numeric', 'nullable'],
'longitude' => ['numeric', 'nullable'],
'boundaries' => ['array', 'nullable'],
'is_primary' => ['boolean', 'sometimes'],
'is_billing' => ['boolean', 'sometimes'],
'is_shipping' => ['boolean', 'sometimes'],
'type' => ['boolean', 'nullable'],
];
}
}

0 comments on commit 2d8ee75

Please sign in to comment.