Removed trailing comma in __construct params
This commit is contained in:
parent
6420fa4f7d
commit
5a52efea07
@ -22,7 +22,7 @@ class PersonalSettingsController extends Controller {
|
||||
IRequest $request,
|
||||
?string $UserId,
|
||||
PodcastMetricsReader $metricsReader,
|
||||
PodcastDataReader $dataReader,
|
||||
PodcastDataReader $dataReader
|
||||
) {
|
||||
parent::__construct($AppName, $request);
|
||||
$this->userId = $UserId ?? '';
|
||||
|
@ -23,7 +23,7 @@ class PodcastData implements JsonSerializable {
|
||||
?string $description,
|
||||
?string $imageUrl,
|
||||
int $fetchedAtUnix,
|
||||
?string $imageBlob = null,
|
||||
?string $imageBlob = null
|
||||
) {
|
||||
$this->title = $title;
|
||||
$this->author = $author;
|
||||
|
@ -19,7 +19,7 @@ class PodcastDataReader {
|
||||
public function __construct(
|
||||
ICacheFactory $cacheFactory,
|
||||
IClientService $httpClientService,
|
||||
SubscriptionChangeRepository $subscriptionChangeRepository,
|
||||
SubscriptionChangeRepository $subscriptionChangeRepository
|
||||
) {
|
||||
if ($cacheFactory->isLocalCacheAvailable()) {
|
||||
$this->cache = $cacheFactory->createLocal('GPodderSync-Podcasts');
|
||||
|
@ -13,7 +13,7 @@ class PodcastMetrics implements JsonSerializable {
|
||||
public function __construct(
|
||||
string $url,
|
||||
int $listenedSeconds = 0,
|
||||
?PodcastActionCounts $actionCounts = null,
|
||||
?PodcastActionCounts $actionCounts = null
|
||||
) {
|
||||
$this->url = $url;
|
||||
$this->actionCounts = $actionCounts ?? new PodcastActionCounts;
|
||||
|
@ -18,7 +18,7 @@ class PodcastMetricsReader {
|
||||
|
||||
public function __construct(
|
||||
SubscriptionChangeRepository $subscriptionChangeRepository,
|
||||
EpisodeActionRepository $episodeActionRepository,
|
||||
EpisodeActionRepository $episodeActionRepository
|
||||
) {
|
||||
$this->subscriptionChangeRepository = $subscriptionChangeRepository;
|
||||
$this->episodeActionRepository = $episodeActionRepository;
|
||||
|
Loading…
Reference in New Issue
Block a user