Skip to content

Commit

Permalink
Solve php 8.2 deprecation (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Mar 14, 2023
1 parent 3c35433 commit 4de24c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Engine/Utils/Collections/CollectionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ protected function setValues($values)
* Returns the object to JSON serialize.
* @return array
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return $this->getArrayCopy();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class MultivariateFeatureStateValueModelList extends \ArrayObject implements \Js
* Returns the object to JSON serialize.
* @return array
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
$stateValues = $this->getArrayCopy();
Expand Down

0 comments on commit 4de24c2

Please sign in to comment.