Skip to content

Commit

Permalink
API Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 6, 2024
1 parent 15be53e commit 719e108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/elemental/ElementContentExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 719e108

Please sign in to comment.