Skip to content

Commit fe193a4

Browse files
committed
ISSUE-344: fix style
1 parent 61f2cb3 commit fe193a4

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

src/Controller/ListController.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,11 @@ public function deleteList(
321321
properties: [
322322
new OA\Property(property: 'id', type: 'integer', example: 2),
323323
new OA\Property(property: 'name', type: 'string', example: 'Newsletter'),
324-
new OA\Property(property: 'description', type: 'string', example: 'Monthly updates'),
324+
new OA\Property(
325+
property: 'description',
326+
type: 'string',
327+
example: 'Monthly updates'
328+
),
325329
new OA\Property(
326330
property: 'creation_date',
327331
type: 'string',

src/Controller/SubscriberController.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,11 @@ public function postAction(Request $request, SerializerInterface $serializer): J
203203
properties: [
204204
new OA\Property(property: 'id', type: 'integer', example: 2),
205205
new OA\Property(property: 'name', type: 'string', example: 'Newsletter'),
206-
new OA\Property(property: 'description', type: 'string', example: 'Monthly updates'),
206+
new OA\Property(
207+
property: 'description',
208+
type: 'string',
209+
example: 'Monthly updates'
210+
),
207211
new OA\Property(
208212
property: 'creation_date',
209213
type: 'string',

src/Serializer/SubscriberNormalizer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,3 @@ public function supportsNormalization($data, string $format = null): bool
4949
return $data instanceof Subscriber;
5050
}
5151
}
52-

tests/Integration/Controller/ListControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public function testGetListMembersWithCurrentSessionKeyForExistingListWithSubscr
247247
'unique_id' => '95feb7fe7e06e6c11ca8d0c48cb46e89',
248248
'html_email' => true,
249249
'disabled' => true,
250-
'subscribedLists' => [
250+
'subscribedLists' => [
251251
[
252252
'id' => 2,
253253
'name' => 'More news',

0 commit comments

Comments
 (0)