Skip to content

Commit aa316ad

Browse files
committed
php8.1 deprecation notice #473
1 parent 3c245b5 commit aa316ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/EmbedCode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
namespace Embed;
55

66
use JsonSerializable;
7+
use ReturnTypeWillChange;
78

89
class EmbedCode implements JsonSerializable
910
{
@@ -28,6 +29,7 @@ public function __toString(): string
2829
return $this->html;
2930
}
3031

32+
#[ReturnTypeWillChange]
3133
public function jsonSerialize()
3234
{
3335
return [

0 commit comments

Comments
 (0)