From 088f76fef271369b7af1a113271baa368fec5072 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 16 Dec 2024 19:23:14 +1300 Subject: [PATCH] API Update validate signature --- src/Model/BlogObject.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Model/BlogObject.php b/src/Model/BlogObject.php index b86af00e..62f5a3d9 100644 --- a/src/Model/BlogObject.php +++ b/src/Model/BlogObject.php @@ -51,13 +51,8 @@ public function getCMSFields() return $fields; } - /** - * {@inheritdoc} - * @return ValidationResult - */ - public function validate() + public function validate(): ValidationResult { - /** @var ValidationResult $validation */ $validation = parent::validate(); if (!$validation->isValid()) { return $validation;