Skip to content

Using $this when not in object context #3

@d3turnes

Description

@d3turnes

Error, line 94
File: vendor\bread-templates\src\TemplatesManager.php

templateModified() => static function
and
getPath() => no static function

public static function templateModified(Template $template) {
$_file = $this->getPath($template->slug); => Error
//$_file = resource_path('views/vendor/voyager/templates/').$template->slug.'.blade.php'; => OK

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