RePod-Nextcloud-App/stubs/OCA/GPodderSync/Core/PodcastData/PodcastActionCounts.php
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;
}