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 b901a16 commit 14f5ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/02_Developer_Guides/00_Model/09_Validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class MyObject extends DataObject
'Postcode' => 'Varchar',
];

public function validate()
public function validate(): ValidationResult
{
$result = parent::validate();

Expand Down

0 comments on commit 14f5ee2

Please sign in to comment.