Skip to content

cviebrock/eloquent-sluggable uses a deprecated function #1

@eduardoarandah

Description

@eduardoarandah

https://github.com/cviebrock/eloquent-sluggable/blob/3.1.4/src/SluggableServiceProvider.php

line 84:
        $this->app['sluggable.table'] = $this->app->share(function ($app) {

uses app->share, deprecated in laravel 5.4

https://laravel.com/docs/5.4/upgrade

this causes error:


FatalThrowableError

Call to undefined method Illuminate\Foundation\Application::share()

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