2023-08-02 12:13:16 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace OCA\GPodderSync\Core\PodcastData;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @psalm-type PodcastActionCountsType = array{
|
|
|
|
* delete: int,
|
|
|
|
* download: int,
|
|
|
|
* flattr: int,
|
|
|
|
* new: int,
|
|
|
|
* play: int
|
|
|
|
* }
|
|
|
|
*/
|
2023-08-04 00:23:59 +02:00
|
|
|
class PodcastActionCounts implements \JsonSerializable
|
2023-08-02 12:13:16 +02:00
|
|
|
{
|
2023-08-04 00:23:59 +02:00
|
|
|
public function incrementAction(string $action): void
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return PodcastActionCountsType
|
|
|
|
*/
|
2023-08-04 00:23:59 +02:00
|
|
|
public function toArray()
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return PodcastActionCountsType
|
|
|
|
*/
|
2023-08-04 00:23:59 +02:00
|
|
|
public function jsonSerialize(): mixed
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
}
|