Skip to content

Commit 21c2a70

Browse files
Merge branch '5.4' into 6.2
* 5.4: minor #49431 [Mailer][Translation] Remove some `static` occurrences that may cause unstable tests (alexandre-daubois) [Workflow] remove new lines from workflow metadata Fix phpdocs in HttpClient, HttpFoundation, HttpKernel, Intl components [WebProfilerBundle] Render original (not encoded) email headers
2 parents 5ab5948 + e3a2793 commit 21c2a70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Fragment/HIncludeFragmentRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class HIncludeFragmentRenderer extends RoutableFragmentRenderer
3030
private string $charset;
3131

3232
/**
33-
* @param string $globalDefaultTemplate The global default content (it can be a template name or the content)
33+
* @param string|null $globalDefaultTemplate The global default content (it can be a template name or the content)
3434
*/
3535
public function __construct(Environment $twig = null, UriSigner $signer = null, string $globalDefaultTemplate = null, string $charset = 'utf-8')
3636
{

HttpCache/SurrogateInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public function needsParsing(Response $response): bool;
5151
/**
5252
* Renders a Surrogate tag.
5353
*
54-
* @param string $alt An alternate URI
55-
* @param string $comment A comment to add as an esi:include tag
54+
* @param string|null $alt An alternate URI
55+
* @param string $comment A comment to add as an esi:include tag
5656
*/
5757
public function renderIncludeTag(string $uri, string $alt = null, bool $ignoreErrors = true, string $comment = ''): string;
5858

0 commit comments

Comments
 (0)