Skip to content

Commit 87e0d10

Browse files
[VarDumper] Fix accepting legacy FileLinkFormatter
1 parent df58ba3 commit 87e0d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/ContextProvider/SourceContextProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class SourceContextProvider implements ContextProviderInterface
2929
private int $limit;
3030
private ?string $charset;
3131
private ?string $projectDir;
32-
private ?FileLinkFormatter $fileLinkFormatter;
32+
private FileLinkFormatter|LegacyFileLinkFormatter|null $fileLinkFormatter;
3333

3434
public function __construct(string $charset = null, string $projectDir = null, FileLinkFormatter|LegacyFileLinkFormatter $fileLinkFormatter = null, int $limit = 9)
3535
{

0 commit comments

Comments
 (0)