From 5a52efea074a89428b3783c49391b3d8510866b6 Mon Sep 17 00:00:00 2001 From: Kalle Fagerberg Date: Wed, 26 Oct 2022 22:32:59 +0200 Subject: [PATCH] Removed trailing comma in __construct params --- lib/Controller/PersonalSettingsController.php | 2 +- lib/Core/PodcastData/PodcastData.php | 2 +- lib/Core/PodcastData/PodcastDataReader.php | 2 +- lib/Core/PodcastData/PodcastMetrics.php | 2 +- lib/Core/PodcastData/PodcastMetricsReader.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Controller/PersonalSettingsController.php b/lib/Controller/PersonalSettingsController.php index 56aaf47..5cf8841 100644 --- a/lib/Controller/PersonalSettingsController.php +++ b/lib/Controller/PersonalSettingsController.php @@ -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 ?? ''; diff --git a/lib/Core/PodcastData/PodcastData.php b/lib/Core/PodcastData/PodcastData.php index 648379e..402f0ad 100644 --- a/lib/Core/PodcastData/PodcastData.php +++ b/lib/Core/PodcastData/PodcastData.php @@ -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; diff --git a/lib/Core/PodcastData/PodcastDataReader.php b/lib/Core/PodcastData/PodcastDataReader.php index 80a6049..fa04e27 100644 --- a/lib/Core/PodcastData/PodcastDataReader.php +++ b/lib/Core/PodcastData/PodcastDataReader.php @@ -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'); diff --git a/lib/Core/PodcastData/PodcastMetrics.php b/lib/Core/PodcastData/PodcastMetrics.php index be23301..c752987 100644 --- a/lib/Core/PodcastData/PodcastMetrics.php +++ b/lib/Core/PodcastData/PodcastMetrics.php @@ -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; diff --git a/lib/Core/PodcastData/PodcastMetricsReader.php b/lib/Core/PodcastData/PodcastMetricsReader.php index 619e32b..271e97f 100644 --- a/lib/Core/PodcastData/PodcastMetricsReader.php +++ b/lib/Core/PodcastData/PodcastMetricsReader.php @@ -18,7 +18,7 @@ class PodcastMetricsReader { public function __construct( SubscriptionChangeRepository $subscriptionChangeRepository, - EpisodeActionRepository $episodeActionRepository, + EpisodeActionRepository $episodeActionRepository ) { $this->subscriptionChangeRepository = $subscriptionChangeRepository; $this->episodeActionRepository = $episodeActionRepository;