field processing fix
This commit is contained in:
@@ -55,7 +55,7 @@ class SaveProcessor
|
||||
$this->accessChecker = $accessChecker;
|
||||
}
|
||||
|
||||
public function process(Entity $entity): void
|
||||
public function process(Entity $entity, array $options): void
|
||||
{
|
||||
$entityType = $entity->getEntityType();
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ class SaveProcessor
|
||||
$this->metadata = $metadata;
|
||||
}
|
||||
|
||||
public function process(Entity $entity): void
|
||||
public function process(Entity $entity, array $options): void
|
||||
{
|
||||
$entityType = $entity->getEntityType();
|
||||
|
||||
|
||||
@@ -53,9 +53,9 @@ class SaveProcessor
|
||||
$this->phoneNumberSaveProcessor = $phoneNumberSaveProcessor;
|
||||
}
|
||||
|
||||
public function process(Entity $entity): void
|
||||
public function process(Entity $entity, array $options): void
|
||||
{
|
||||
$this->emailAddressSaveProcessor->process($entity);
|
||||
$this->phoneNumberSaveProcessor->process($entity);
|
||||
$this->emailAddressSaveProcessor->process($entity, $options);
|
||||
$this->phoneNumberSaveProcessor->process($entity, $options);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,6 +50,6 @@ class FieldProcessing
|
||||
return;
|
||||
}
|
||||
|
||||
$this->saveProcessor->process($entity);
|
||||
$this->saveProcessor->process($entity, $options);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user