Skip to content

Commit 07ae7b0

Browse files
committed
phpcs.
1 parent 3889a95 commit 07ae7b0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Plugin/search_api/processor/EntityReferenceWithUri.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ public function getPropertyDefinitions(DatasourceInterface $datasource = NULL) {
129129

130130
/**
131131
* {@inheritdoc}
132-
* @throws \Drupal\search_api\SearchApiException
133132
*/
134133
public function addFieldValues(ItemInterface $item) {
135134
// Skip if no Entity Reference with URI fields are configured.
@@ -164,8 +163,10 @@ public function addFieldValues(ItemInterface $item) {
164163
$target_entity = $this->entityTypeManager
165164
->getStorage($entity_type)
166165
->load($value);
167-
} catch (InvalidPluginDefinitionException $e) {
168-
} catch (PluginNotFoundException $e) {
166+
}
167+
catch (InvalidPluginDefinitionException $e) {
168+
}
169+
catch (PluginNotFoundException $e) {
169170
}
170171
// Load the taxonomy terms on the entity stored in our field.
171172
$referenced_terms = array_merge($referenced_terms, array_filter($target_entity->referencedEntities(), function ($entity) {

0 commit comments

Comments
 (0)