repod/lib/Service/IProvider.php
Michel Roux 754dda0562
All checks were successful
repod / nextcloud (push) Successful in 46s
repod / nodejs (push) Successful in 1m16s
Typo
2023-08-01 23:20:22 +02:00

30 lines
477 B
PHP

<?php
declare(strict_types=1);
namespace OCA\RePod\Service;
/**
* @psalm-type Podcast = array{
* id: string,
* provider: string,
* website: string,
* description: string,
* title: string,
* author: string,
* url: string,
* position_last_week: ?string,
* mygpo_link: string,
* logo_url: string,
* lastpub: string,
* episode_count: string
* }
*/
interface IProvider
{
/**
* @return Podcast[]
*/
public function search(string $value): array;
}