Skip to content

Commit 5b1b08b

Browse files
committed
Fix #12 - required relationship error message detail.
1 parent f652d28 commit 5b1b08b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Validator/Relationships/RelationshipsValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class RelationshipsValidator extends AbstractKeyedValidator
4545
ErrorObject::CODE => self::ERROR_REQUIRED,
4646
ErrorObject::STATUS => 400,
4747
ErrorObject::TITLE => 'Required Relationship',
48-
ErrorObject::DETAIL => 'Missing required relationship "%s".',
48+
ErrorObject::DETAIL => 'Relationship is required so must be provided.',
4949
],
5050
self::ERROR_UNRECOGNISED_RELATIONSHIP => [
5151
ErrorObject::CODE => self::ERROR_UNRECOGNISED_RELATIONSHIP,

0 commit comments

Comments
 (0)