From eb727dde10c4fca0d39f433a2d9abc2bb5561f3a Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 25 Oct 2022 14:56:20 -0700 Subject: [PATCH] (REF) ContactAutofill, ContactDedupe - Fix warning There was a warning when flushing: WARNING: Class Civi\Afform\Behavior\ContactAutofill was expected to have a service definition, but it did not. Perhaps it needs service name. WARNING: Class Civi\Afform\behavior\ContactDedupe was expected to have a service definition, but it did not. Perhaps it needs service name. --- ext/afform/core/Civi/Afform/Behavior/ContactAutofill.php | 4 ++++ ext/afform/core/Civi/Afform/Behavior/ContactDedupe.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ext/afform/core/Civi/Afform/Behavior/ContactAutofill.php b/ext/afform/core/Civi/Afform/Behavior/ContactAutofill.php index 31feeef9f2..37475c499d 100644 --- a/ext/afform/core/Civi/Afform/Behavior/ContactAutofill.php +++ b/ext/afform/core/Civi/Afform/Behavior/ContactAutofill.php @@ -6,6 +6,10 @@ use Civi\Afform\Event\AfformPrefillEvent; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use CRM_Afform_ExtensionUtil as E; +/** + * @service + * @internal + */ class ContactAutofill extends AbstractBehavior implements EventSubscriberInterface { /** diff --git a/ext/afform/core/Civi/Afform/Behavior/ContactDedupe.php b/ext/afform/core/Civi/Afform/Behavior/ContactDedupe.php index aec3c24e9f..d28d386647 100644 --- a/ext/afform/core/Civi/Afform/Behavior/ContactDedupe.php +++ b/ext/afform/core/Civi/Afform/Behavior/ContactDedupe.php @@ -7,6 +7,10 @@ use Civi\Api4\Contact; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use CRM_Afform_ExtensionUtil as E; +/** + * @service + * @internal + */ class ContactDedupe extends AbstractBehavior implements EventSubscriberInterface { /** -- 2.25.1