Skip to content

Commit 47732ec

Browse files
committed
Update stubs
1 parent 361a587 commit 47732ec

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

stubs/ext/spl/SplHeap.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,14 @@ public function isCorrupted()
9898
public function __debugInfo()
9999
{
100100
}
101+
/** @tentative-return-type */
102+
#[\Since('8.5')]
103+
public function __serialize(): array
104+
{
105+
}
106+
/** @tentative-return-type */
107+
#[\Since('8.5')]
108+
public function __unserialize(array $data): void
109+
{
110+
}
101111
}

stubs/ext/spl/SplPriorityQueue.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,16 @@ public function getExtractFlags()
144144
public function __debugInfo()
145145
{
146146
}
147+
/** @tentative-return-type */
148+
#[\Since('8.5')]
149+
public function __serialize(): array
150+
{
151+
}
152+
/** @tentative-return-type */
153+
#[\Since('8.5')]
154+
public function __unserialize(array $data): void
155+
{
156+
}
147157
/** @cvalue SPL_PQUEUE_EXTR_BOTH */
148158
#[\Since('8.4')]
149159
public const int EXTR_BOTH = UNKNOWN;

0 commit comments

Comments
 (0)