Leaf Docs appear to show incorrect syntax for rendering partials · Issue #120 · leafsphp/docs · GitHub
Skip to content

Leaf Docs appear to show incorrect syntax for rendering partials #120

Description

@kczx3

In the below file, it is stated that the $template variable is available in all BareUI templates for rendering partials and states to call the render method on this variable. Unfortunately, this variable contains a string value, specifically static::class which resolves to "Leaf\BareUI". Perhaps you meant to use the scope resolution operator (::) here instead since render is a static method?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions