repod/stubs/OCA/GPodderSync/Core/EpisodeAction/EpisodeAction.php
Michel Roux df30ff2318
All checks were successful
repod / nextcloud (push) Successful in 47s
repod / nodejs (push) Successful in 1m18s
Readd gpodder stubs
2023-08-02 12:13:16 +02:00

45 lines
748 B
PHP

<?php
declare(strict_types=1);
namespace OCA\GPodderSync\Core\EpisodeAction;
/**
* @psalm-type EpisodeActionType = array{
* podcast: string,
* episode: string,
* action: string,
* timestamp: string,
* started: int,
* position: int,
* total: int,
* guid: ?string,
* id: int
* }
*/
interface EpisodeAction
{
public function getPodcast(): string;
public function getEpisode(): string;
public function getAction(): string;
public function getTimestamp(): string;
public function getStarted(): int;
public function getPosition(): int;
public function getTotal(): int;
public function getGuid(): ?string;
public function getId(): int;
/**
* @return EpisodeActionType
*/
public function toArray(): array;
}