Skip to content

Commit e7346ea

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 dad04ec + 32c2d95 commit e7346ea

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

ResourceBundle.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ abstract protected static function getPath(): string;
3232
*
3333
* @see BundleEntryReaderInterface::readEntry()
3434
*
35-
* @param string[] $indices The indices to read from the bundle
36-
* @param bool $fallback Whether to merge the value with the value from
37-
* the fallback locale (e.g. "en" for "en_GB").
38-
* Only applicable if the result is multivalued
39-
* (i.e. array or \ArrayAccess) or cannot be found
40-
* in the requested locale.
35+
* @param string[] $indices The indices to read from the bundle
36+
* @param string|null $locale The locale to read
37+
* @param bool $fallback Whether to merge the value with the value from
38+
* the fallback locale (e.g. "en" for "en_GB").
39+
* Only applicable if the result is multivalued
40+
* (i.e. array or \ArrayAccess) or cannot be found
41+
* in the requested locale.
4142
*
4243
* @return mixed returns an array or {@link \ArrayAccess} instance for
4344
* complex data and a scalar value for simple data

0 commit comments

Comments
 (0)