Skip to content

Commit 7324c2e

Browse files
weaverryanjrushlow
andauthored
Update src/Util/MakerFileLinkFormatter.php
Co-authored-by: Jesse Rushlow <[email protected]>
1 parent 1ab9467 commit 7324c2e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Util/MakerFileLinkFormatter.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ public function makeLinkedPath(string $absolutePath, string $relativePath): stri
4747
}
4848

4949
$outputFormatterStyle = new OutputFormatterStyle();
50+
51+
if (method_exists(OutputFormatterStyle::class, 'setHref')) {
52+
$outputFormatterStyle->setHref($formatted);
53+
}
5054

5155
return $outputFormatterStyle->apply($relativePath);
5256
}

0 commit comments

Comments
 (0)