Skip to content

Commit cd4b46e

Browse files
Merge branch '4.4' into 5.1
* 4.4: [PhpUnitBridge] CS fix [PhpUnitBridge] Fix PHP 5.5 compatibility Add missing param annotation abouts $fileLinkFormat [Form] Fixed StringUtil::trim() to trim ZERO WIDTH SPACE (U+200B) and SOFT HYPHEN (U+00AD) 23412 Stop treating multiline resources as globs
2 parents 4be3227 + ef2f7dd commit cd4b46e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ErrorRenderer/HtmlErrorRenderer.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Symfony\Component\ErrorHandler\Exception\FlattenException;
1616
use Symfony\Component\HttpFoundation\RequestStack;
1717
use Symfony\Component\HttpFoundation\Response;
18+
use Symfony\Component\HttpKernel\Debug\FileLinkFormatter;
1819
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
1920

2021
/**
@@ -40,8 +41,9 @@ class HtmlErrorRenderer implements ErrorRendererInterface
4041
private $logger;
4142

4243
/**
43-
* @param bool|callable $debug The debugging mode as a boolean or a callable that should return it
44-
* @param bool|callable $outputBuffer The output buffer as a string or a callable that should return it
44+
* @param bool|callable $debug The debugging mode as a boolean or a callable that should return it
45+
* @param string|FileLinkFormatter|null $fileLinkFormat
46+
* @param bool|callable $outputBuffer The output buffer as a string or a callable that should return it
4547
*/
4648
public function __construct($debug = false, string $charset = null, $fileLinkFormat = null, string $projectDir = null, $outputBuffer = '', LoggerInterface $logger = null)
4749
{

0 commit comments

Comments
 (0)