We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6be74fb commit 5136ebeCopy full SHA for 5136ebe
1 file changed
tests/Functional/LinterStubs/LinterStubsTestCase.php
@@ -243,7 +243,7 @@ protected static function getReasonPhrase(TagInterface $tag): string
243
if ($tag instanceof InvalidTag) {
244
$reason = $tag->getReason();
245
246
- return (string) $reason . ': ' . (string) $tag->getDescription();
+ return $reason->getMessage() . ': ' . (string) $tag->getDescription();
247
}
248
249
return 'Failed to parse tag: ' . \print_r($tag, true);
0 commit comments