Skip to content

Commit b0afc3f

Browse files
authored
Merge pull request #11563 from theodorejb/replace-sleep
Replace deprecated __sleep method with __serialize
2 parents 06bca22 + e1ef166 commit b0afc3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Psalm/Internal/Fork/Pool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
final class Pool
4343
{
4444
private readonly WorkerPool $pool;
45-
public function __sleep(): array
45+
public function __serialize(): array
4646
{
4747
return [];
4848
}

0 commit comments

Comments
 (0)