Skip to content

Commit 765a3f3

Browse files
author
Amburi Roy
committed
fix: resolve deprecation issues in rosetta build
1 parent c024cdd commit 765a3f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Spec/v3/AbstractObject.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ final public function __set($name, $value)
5353

5454
/**
5555
* @param mixed $offset
56-
*
5756
* @return bool
5857
*/
5958
final public function offsetExists(mixed $offset): bool
@@ -63,7 +62,6 @@ final public function offsetExists(mixed $offset): bool
6362

6463
/**
6564
* @param mixed $offset
66-
*
6765
* @return mixed
6866
*/
6967
final public function offsetGet(mixed $offset): mixed
@@ -73,7 +71,8 @@ final public function offsetGet(mixed $offset): mixed
7371

7472
/**
7573
* @param mixed $offset
76-
* @param mixed $value
74+
* @param mixed $value
75+
* @return void
7776
*/
7877
final public function offsetSet(mixed $offset, mixed $value): void
7978
{
@@ -82,6 +81,7 @@ final public function offsetSet(mixed $offset, mixed $value): void
8281

8382
/**
8483
* @param mixed $offset
84+
* @return void
8585
*/
8686
final public function offsetUnset(mixed $offset): void
8787
{
@@ -201,7 +201,7 @@ public function toYaml(
201201
* in order to be able to export empty objects correctly, so they
202202
* won't be treated as empty arrays.
203203
*
204-
* @return array|stdClass
204+
* @return mixed
205205
*/
206206
public function jsonSerialize(): mixed
207207
{

0 commit comments

Comments
 (0)