JezK
Edit File: NonSerializableTrait.php
<?php declare(strict_types=1); namespace GuzzleHttp\Promise; /** * @internal */ trait NonSerializableTrait { public function __serialize(): array { throw new \LogicException(static::class.' should never be serialized'); } public function __unserialize(array $data): void { throw new \LogicException(static::class.' should never be unserialized'); } }