diff --git a/src/Forms/Components/Fields/SignaturePad.php b/src/Forms/Components/Fields/SignaturePad.php index 2f35575..455da56 100644 --- a/src/Forms/Components/Fields/SignaturePad.php +++ b/src/Forms/Components/Fields/SignaturePad.php @@ -11,6 +11,7 @@ class SignaturePad extends Field implements Contracts\CanBeLengthConstrained, Contracts\HasAffixActions { + use CanDisplayTemplate; use Concerns\CanBeAutocapitalized; use Concerns\CanBeAutocompleted; use Concerns\CanBeLengthConstrained; @@ -20,7 +21,6 @@ class SignaturePad extends Field implements Contracts\CanBeLengthConstrained, Co use Concerns\HasInputMode; use Concerns\HasPlaceholder; use HasExtraAlpineAttributes; - use CanDisplayTemplate; use HasSignaturePadAttributes; const PACKAGE_NAME = 'coolsam/signature-pad'; diff --git a/src/Forms/Concerns/CanDisplayTemplate.php b/src/Forms/Concerns/CanDisplayTemplate.php index 999cf00..89703be 100644 --- a/src/Forms/Concerns/CanDisplayTemplate.php +++ b/src/Forms/Concerns/CanDisplayTemplate.php @@ -9,7 +9,6 @@ trait CanDisplayTemplate protected bool | Closure | null $displayTemplate = true; /** - * @param bool $displayTemplate * @return CanDisplayTemplate */ public function displayTemplate(bool $displayTemplate = true): static