diff --git a/includes/Fluent.php b/includes/Fluent.php index 2b03f89..59b98dc 100644 --- a/includes/Fluent.php +++ b/includes/Fluent.php @@ -95,6 +95,7 @@ public function toArray() { * * @return array */ + #[\ReturnTypeWillChange] public function jsonSerialize() { return $this->toArray(); } @@ -117,6 +118,7 @@ public function toJson( $options = 0 ) { * * @return bool */ + #[\ReturnTypeWillChange] public function offsetExists( $offset ) { return isset( $this->attributes[ $offset ] ); } @@ -128,6 +130,7 @@ public function offsetExists( $offset ) { * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet( $offset ) { return $this->get( $offset ); } @@ -140,6 +143,7 @@ public function offsetGet( $offset ) { * * @return void */ + #[\ReturnTypeWillChange] public function offsetSet( $offset, $value ) { $this->attributes[ $offset ] = $value; } @@ -151,6 +155,7 @@ public function offsetSet( $offset, $value ) { * * @return void */ + #[\ReturnTypeWillChange] public function offsetUnset( $offset ) { unset( $this->attributes[ $offset ] ); }