src/ChainReader.php
public function supports($filename)
    {
        foreach ($this->readers as $reader) {
            if ($reader->available() && $reader->supports($filename)) {
                return true;
            }
        }

        return false;
    }
public function supports($filename)
    {
        foreach ($this->readers as $reader) {
            if ($reader->available() && $reader->supports($filename)) {
                return true;
            }
        }

        return false;
    }
{@inheritdoc}