Skip to content

Function lang() / Type of return value #2192

Closed
@klikklak

Description

@klikklak

The type of the return value of the function lang() in Common.php / line 433 ff. is set to "string". The documentation (chapter Localization / Nested Arrays) shows that lang() also can return an array. But if you try this, you will get a TypeError ("Return value of lang() must be of the type string, array returned").

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions