We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d9a37 commit 8f2e189Copy full SHA for 8f2e189
Command/DebugAutowiringCommand.php
@@ -184,7 +184,7 @@ private function getFileLink(string $class): string
184
return '';
185
}
186
187
- return (string) $this->fileLinkFormatter->format($r->getFileName(), $r->getStartLine());
+ return $r->getFileName() ? ($this->fileLinkFormatter->format($r->getFileName(), $r->getStartLine()) ?: '') : '';
188
189
190
public function complete(CompletionInput $input, CompletionSuggestions $suggestions): void
0 commit comments