We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0e16e4 commit 09bf1bfCopy full SHA for 09bf1bf
1 file changed
src/EventLoop/Internal/AbstractDriver.php
@@ -639,4 +639,14 @@ private function createErrorCallback(): void
639
}
640
};
641
642
+
643
+ final public function __serialize(): never
644
+ {
645
+ throw new \Error(__CLASS__ . ' does not support serialization');
646
+ }
647
648
+ final public function __unserialize(array $data): never
649
650
+ throw new \Error(__CLASS__ . ' does not support deserialization');
651
652
0 commit comments