src/Viserio/Component/HttpFactory/StreamFactory.php
public function createStreamFromFile(string $filename, string $mode = 'r'): StreamInterface
    {
        return Util::createStreamFor(Util::tryFopen($filename, $mode));
    }
public function createStreamFromFile(string $filename, string $mode = 'r'): StreamInterface
    {
        return Util::createStreamFor(Util::tryFopen($filename, $mode));
    }
{@inheritdoc}