Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

issues in city and province model (sluggable method) #19

Description

@armitasabri

Declaration of Baloot\Models\Province::sluggable() must be compatible with Cviebrock\EloquentSluggable\Sluggable::sluggable(): array
37▕ * @codeCoverageIgnore
38▕ *
39▕ * @return array
40▕ */
➜ 41▕ public function sluggable()
42▕ {
43▕ return ['slug' => ['source' => 'name']];
44▕ }
45▕ }

in both city and province model in declaration of sluggable methods, array type didn't specify as an return type which will be solved by using sluggable(): array instead of sluggable()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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