Skip to content

Commit

Permalink
fix: resolve deprecation issues in rosetta build
Browse files Browse the repository at this point in the history
  • Loading branch information
Amburi Roy committed Aug 9, 2023
1 parent c024cdd commit 765a3f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Spec/v3/AbstractObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ final public function __set($name, $value)

/**
* @param mixed $offset
*
* @return bool
*/
final public function offsetExists(mixed $offset): bool
Expand All @@ -63,7 +62,6 @@ final public function offsetExists(mixed $offset): bool

/**
* @param mixed $offset
*
* @return mixed
*/
final public function offsetGet(mixed $offset): mixed
Expand All @@ -73,7 +71,8 @@ final public function offsetGet(mixed $offset): mixed

/**
* @param mixed $offset
* @param mixed $value
* @param mixed $value
* @return void
*/
final public function offsetSet(mixed $offset, mixed $value): void
{
Expand All @@ -82,6 +81,7 @@ final public function offsetSet(mixed $offset, mixed $value): void

/**
* @param mixed $offset
* @return void
*/
final public function offsetUnset(mixed $offset): void
{
Expand Down Expand Up @@ -201,7 +201,7 @@ public function toYaml(
* in order to be able to export empty objects correctly, so they
* won't be treated as empty arrays.
*
* @return array|stdClass
* @return mixed
*/
public function jsonSerialize(): mixed
{
Expand Down

0 comments on commit 765a3f3

Please sign in to comment.