src/Adapter/YandexAdapter.php
public function getListGallery(Manager $manager)
    {
        $albums = array();
        $data = $this->getDataByType('', 'albums');
        if (isset($data['entries'])) {
            foreach ($data['entries'] as $entry) {
                $albums[] = $this->setGallery($entry, new Gallery($this->getId($entry['id']), $manager));
            }
        }

        return $albums;
    }
public function getListGallery(Manager $manager)
    {
        $albums = array();
        $data = $this->getDataByType('', 'albums');
        if (isset($data['entries'])) {
            foreach ($data['entries'] as $entry) {
                $albums[] = $this->setGallery($entry, new Gallery($this->getId($entry['id']), $manager));
            }
        }

        return $albums;
    }
{@inheritDoc}