Skip to content

Commit

Permalink
API Update validate signature
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 16, 2024
1 parent 439cb19 commit 088f76f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Model/BlogObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 088f76f

Please sign in to comment.