Skip to content

Commit 59b190c

Browse files
Merge branch '5.1' into 5.2
* 5.1: [PhpUnitBridge] CS fix [Notifier] Only use sprintf instead of sprintf and string concat [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 289008c + cd4b46e commit 59b190c

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
/**
@@ -42,8 +43,9 @@ class HtmlErrorRenderer implements ErrorRendererInterface
4243
private static $template = 'views/error.html.php';
4344

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

0 commit comments

Comments
 (0)