From 9f5f8aeb49146e619c7f780eca1ce10136b8c49b Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Mon, 10 Jun 2024 15:17:55 -0300 Subject: [PATCH] Coding standards. --- src/Plugin/search_api/processor/DgiImageDiscovery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugin/search_api/processor/DgiImageDiscovery.php b/src/Plugin/search_api/processor/DgiImageDiscovery.php index 7f7c119..4870678 100644 --- a/src/Plugin/search_api/processor/DgiImageDiscovery.php +++ b/src/Plugin/search_api/processor/DgiImageDiscovery.php @@ -124,8 +124,8 @@ public function addFieldValues(ItemInterface $item) { $configuration = $field->getConfiguration(); // XXX: Adapted from https://git.drupalcode.org/project/search_api/-/blob/8.x-1.x/src/Plugin/search_api/processor/RenderedItem.php#L184-190 - // If a (non-anonymous) role is selected, then also add the authenticated - // user role. + // If a (non-anonymous) role is selected, then also add the + // authenticated user role. $roles = $configuration['roles'] ?? [RoleInterface::ANONYMOUS_ID]; $authenticated = RoleInterface::AUTHENTICATED_ID; if (array_diff($roles, [$authenticated, RoleInterface::ANONYMOUS_ID])) {