From 719e1088f665b6ae126b03b74d0c5c3315c0b4bc Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 4 Nov 2024 15:42:26 +1300 Subject: [PATCH] API Rename method --- code/elemental/ElementContentExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/elemental/ElementContentExtension.php b/code/elemental/ElementContentExtension.php index a517a50..7a162a6 100644 --- a/code/elemental/ElementContentExtension.php +++ b/code/elemental/ElementContentExtension.php @@ -28,7 +28,7 @@ class ElementContentExtension extends Extension 'MyFile' => File::class, ]; - protected function updatevalidate(ValidationResult $result) + protected function updateValidate(ValidationResult $result) { if ($this->owner->Title == 'x') { $result->addFieldError('Title', 'Title cannot be x');