Skip to content

Commit 21c9495

Browse files
authored
Merge pull request #36 from Cyriljshaz/error-jsonSerialize
Issue : Declaration of jsonSerialize() must be compatible #35
2 parents ed3dfb1 + 52c51fd commit 21c9495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Slug.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function asHtml()
101101
return $this->withMeta(['asHtml' => true]);
102102
}
103103

104-
public function jsonSerialize()
104+
public function jsonSerialize() : array
105105
{
106106
return array_merge([
107107
'disableAutoUpdateWhenUpdating' => $this->disableAutoUpdateWhenUpdating,

0 commit comments

Comments
 (0)