Skip to content

Commit

Permalink
Merge pull request #110 from ccsliinc/patch-1
Browse files Browse the repository at this point in the history
Declaration of Page::sluggable() must be compatible with Sluggable::sluggable(): array
  • Loading branch information
tabacitu authored Dec 22, 2020
2 parents 31118a7 + 9817fbd commit 1610729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Models/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Page extends Model
*
* @return array
*/
public function sluggable()
public function sluggable(): array
{
return [
'slug' => [
Expand Down

0 comments on commit 1610729

Please sign in to comment.