Skip to content

Application::make() should not be called statically #37

@krokovicsmate

Description

@krokovicsmate

In Laravel 7 when i call the duplicate method the error happen:

Non-static method Illuminate\Foundation\Application::make() should not be called statically

The error happen because the App used note the Facade

Need to replace this line in Cloneable trait:

// Deps
use App;

With this

// Deps
use Illuminate\Support\Facades\App;

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