Add ReturnTypeWillChange to JsonSerializable implementation

Signed-off-by: Alexander M. Turek <me@derrabus.de>
This commit is contained in:
Alexander M. Turek
2021-06-06 00:40:16 +02:00
parent 019d6554d2
commit 507f78d9c4
+1
View File
@@ -40,6 +40,7 @@ class Markup implements \Countable, \JsonSerializable
return mb_strlen($this->content, $this->charset);
}
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return $this->content;