From baa46ad1e3496597b204060025ad88d73421636a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Puig?= Date: Sun, 6 Jun 2021 11:56:09 +0200 Subject: [PATCH] declaration of sluggable compatible --- src/Page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Page.php b/src/Page.php index 6904261..877c0f5 100644 --- a/src/Page.php +++ b/src/Page.php @@ -56,7 +56,7 @@ public function getSanitizedContentAttribute() return preg_replace('/()(())(((.*)\..*)<\/span>.*<\/a>)/U', '$3class="image-$8"$5', $this->content); } - public function sluggable() + public function sluggable(): array { return [ 'slug' => [