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

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

Open
armitasabri opened this issue Feb 21, 2022 · 0 comments
Open

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

armitasabri opened this issue Feb 21, 2022 · 0 comments

Comments

@armitasabri
Copy link

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()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant