Skip to content

Wrong variable autocomplete options #19

@brendt

Description

@brendt

I have a view with a variable $metaTitle passed in from the controller:

        return view(
            './home.view.php',
            metaTitle: 'Tempest',
        );

I expect the view to know about it:

Image

Example code: https://github.com/tempestphp/tempest-plugin-demo/blob/main/app/HomeController.php

On top of that, the suggested options don't make sense, these aren't actual variables

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