File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public function __construct(array $values)
72
72
Assert::keyExists ($ values , 'path ' );
73
73
74
74
if (null !== $ values ['path ' ] && '' !== $ values ['path ' ]) {
75
- $ path = TrimmedNonEmptyString::fromString ($ values ['path ' ], 'The value of key "path" is invalid. ' )->toString ();
75
+ $ path = TrimmedNonEmptyString::fromString ($ values ['path ' ], 'The value of key "path" must be an trimmed non empty string ' )->toString ();
76
76
}
77
77
78
78
$ this ->path = $ path ?? null ;
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ public function pathMustBeValidString(string $value): void
161
161
{
162
162
$ values = self ::faker ()->linkResponse (['path ' => $ value ]);
163
163
164
- self ::expectExceptionMessage ('The value of key "path" is invalid. ' );
164
+ self ::expectExceptionMessage ('The value of key "path" must be an trimmed non empty string ' );
165
165
self ::expectException (\InvalidArgumentException::class);
166
166
167
167
new Link ($ values );
You can’t perform that action at this time.
0 commit comments