repod/stubs/OCA/GPodderSync/Core/PodcastData/PodcastActionCounts.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

30 lines
506 B
PHP

<?php
declare(strict_types=1);
namespace OCA\GPodderSync\Core\PodcastData;
/**
* @psalm-type PodcastActionCountsType = array{
* delete: int,
* download: int,
* flattr: int,
* new: int,
* play: int
* }
*/
interface PodcastActionCounts extends \JsonSerializable
{
public function incrementAction(string $action): void;
/**
* @return PodcastActionCountsType
*/
public function toArray(): array;
/**
* @return PodcastActionCountsType
*/
public function jsonSerialize(): array;
}