<?php

declare (strict_types=1);
namespace OCA\News\Vendor\GuzzleHttp\Psr7;

/**
 * @internal
 */
trait NonSerializableStreamTrait
{
    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');
    }
}
