2023-08-02 10:13:16 +00: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-03 22:23:59 +00:00
|
|
|
class PodcastActionCounts implements \JsonSerializable
|
2023-08-02 10:13:16 +00:00
|
|
|
{
|
2023-12-23 16:25:20 +00:00
|
|
|
public function incrementAction(string $action): void {}
|
2023-08-02 10:13:16 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return PodcastActionCountsType
|
|
|
|
*/
|
2023-12-23 16:25:20 +00:00
|
|
|
public function toArray() {}
|
2023-08-02 10:13:16 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return PodcastActionCountsType
|
|
|
|
*/
|
2023-12-23 16:25:20 +00:00
|
|
|
public function jsonSerialize(): mixed {}
|
2023-08-02 10:13:16 +00:00
|
|
|
}
|