10000 [VarDumper] Fix accepting legacy FileLinkFormatter · symfony/symfony@6337e5f · GitHub
[go: up one dir, main page]

Skip to content

Commit 6337e5f

Browse files
[VarDumper] Fix accepting legacy FileLinkFormatter
1 parent 814bcac commit 6337e5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/VarDumper/Dumper/ContextProvider/SourceContextProvider.php

+1-1
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)
0