Skip to content

Commit

Permalink
Merge pull request #801 from creative-commoners/pulls/5.0/validation-…
Browse files Browse the repository at this point in the history
…interface

API Update validate signature
  • Loading branch information
GuySartorelli authored Dec 17, 2024
2 parents 439cb19 + 088f76f commit b97cc8e
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 b97cc8e

Please sign in to comment.