From 14f5ee22a6cf5d8c01439435bae8ca8422089221 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 16 Dec 2024 19:23:30 +1300 Subject: [PATCH] API Update validate signature --- en/02_Developer_Guides/00_Model/09_Validation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/02_Developer_Guides/00_Model/09_Validation.md b/en/02_Developer_Guides/00_Model/09_Validation.md index 12730e04..9cb7c21d 100644 --- a/en/02_Developer_Guides/00_Model/09_Validation.md +++ b/en/02_Developer_Guides/00_Model/09_Validation.md @@ -58,7 +58,7 @@ class MyObject extends DataObject 'Postcode' => 'Varchar', ]; - public function validate() + public function validate(): ValidationResult { $result = parent::validate();