minor #39398 [ErrorHandler][HttpKernel] Add missing param annotation for $fileLinkFormat (nicolas-grekas)
This PR was merged into the 4.4 branch.
Discussion
----------
[ErrorHandler][HttpKernel] Add missing param annotation for $fileLinkFormat
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Commits
-------
32a56a6389
Add missing param annotation abouts $fileLinkFormat
This commit is contained in:
commit
0676399b88
@ -15,6 +15,7 @@ use Psr\Log\LoggerInterface;
|
|||||||
use Symfony\Component\ErrorHandler\Exception\FlattenException;
|
use Symfony\Component\ErrorHandler\Exception\FlattenException;
|
||||||
use Symfony\Component\HttpFoundation\RequestStack;
|
use Symfony\Component\HttpFoundation\RequestStack;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
use Symfony\Component\HttpKernel\Debug\FileLinkFormatter;
|
||||||
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
|
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -41,6 +42,7 @@ class HtmlErrorRenderer implements ErrorRendererInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param bool|callable $debug The debugging mode as a boolean or a callable that should return it
|
* @param bool|callable $debug The debugging mode as a boolean or a callable that should return it
|
||||||
|
* @param string|FileLinkFormatter|null $fileLinkFormat
|
||||||
* @param bool|callable $outputBuffer The output buffer as a string or a callable that should return it
|
* @param bool|callable $outputBuffer The output buffer as a string or a callable that should return it
|
||||||
*/
|
*/
|
||||||
public function __construct($debug = false, string $charset = null, $fileLinkFormat = null, string $projectDir = null, $outputBuffer = '', LoggerInterface $logger = null)
|
public function __construct($debug = false, string $charset = null, $fileLinkFormat = null, string $projectDir = null, $outputBuffer = '', LoggerInterface $logger = null)
|
||||||
|
@ -14,6 +14,7 @@ namespace Symfony\Component\HttpKernel\DataCollector;
|
|||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\RequestStack;
|
use Symfony\Component\HttpFoundation\RequestStack;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
use Symfony\Component\HttpKernel\Debug\FileLinkFormatter;
|
||||||
use Symfony\Component\Stopwatch\Stopwatch;
|
use Symfony\Component\Stopwatch\Stopwatch;
|
||||||
use Symfony\Component\VarDumper\Cloner\Data;
|
use Symfony\Component\VarDumper\Cloner\Data;
|
||||||
use Symfony\Component\VarDumper\Cloner\VarCloner;
|
use Symfony\Component\VarDumper\Cloner\VarCloner;
|
||||||
@ -43,6 +44,7 @@ class DumpDataCollector extends DataCollector implements DataDumperInterface
|
|||||||
private $sourceContextProvider;
|
private $sourceContextProvider;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @param string|FileLinkFormatter|null $fileLinkFormat
|
||||||
* @param DataDumperInterface|Connection|null $dumper
|
* @param DataDumperInterface|Connection|null $dumper
|
||||||
*/
|
*/
|
||||||
public function __construct(Stopwatch $stopwatch = null, $fileLinkFormat = null, string $charset = null, RequestStack $requestStack = null, $dumper = null)
|
public function __construct(Stopwatch $stopwatch = null, $fileLinkFormat = null, string $charset = null, RequestStack $requestStack = null, $dumper = null)
|
||||||
|
@ -35,7 +35,7 @@ class TextPart extends AbstractPart
|
|||||||
/**
|
/**
|
||||||
* @param resource|string $body
|
* @param resource|string $body
|
||||||
*/
|
*/
|
||||||
public function __construct($body, ?string $charset = 'utf-8', $subtype = 'plain', string $encoding = null)
|
public function __construct($body, ?string $charset = 'utf-8', string $subtype = 'plain', string $encoding = null)
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user