Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion system/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ function is_windows(?bool $mock = null): bool
* A convenience method to translate a string or array of them and format
* the result with the intl extension's MessageFormatter.
*
* @return string
* @return list<string>|string
*/
function lang(string $line, array $args = [], ?string $locale = null)
{
Expand Down
2 changes: 1 addition & 1 deletion system/Language/Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function getLocale(): string
* Parses the language string for a file, loads the file, if necessary,
* getting the line.
*
* @return string|string[]
* @return list<string>|string
*/
public function getLine(string $line, array $args = [])
{
Expand Down