Skip to content

Commit e40ce72

Browse files
adriendupuisgithub-actions[bot]
authored andcommitted
PHP CS Fixes
1 parent ad59fb7 commit e40ce72

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

code_samples/search/custom/src/EventSubscriber/CustomIndexDataSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static function getSubscribedEvents(): array
3636
{
3737
return [
3838
ContentIndexCreateEvent::class => 'onContentDocumentCreate',
39-
LocationIndexCreateEvent::class => 'onLocationDocumentCreate'
39+
LocationIndexCreateEvent::class => 'onLocationDocumentCreate',
4040
];
4141
}
4242
}

code_samples/search/custom/src/EventSubscriber/CustomQueryFilterSubscriber.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ public function onQueryFilter(QueryFilterEvent $event): void
2323
// Append Criterion to existing filter
2424
$query->filter = new LogicalAnd([
2525
$query->filter,
26-
$additionalCriteria
26+
$additionalCriteria,
2727
]);
2828
}
2929
}
3030

3131
public static function getSubscribedEvents(): array
3232
{
3333
return [
34-
QueryFilterEvent::class => 'onQueryFilter'
34+
QueryFilterEvent::class => 'onQueryFilter',
3535
];
3636
}
3737
}

0 commit comments

Comments
 (0)