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,
|
IRequest $request,
|
||||||
?string $UserId,
|
?string $UserId,
|
||||||
PodcastMetricsReader $metricsReader,
|
PodcastMetricsReader $metricsReader,
|
||||||
PodcastDataReader $dataReader,
|
PodcastDataReader $dataReader
|
||||||
) {
|
) {
|
||||||
parent::__construct($AppName, $request);
|
parent::__construct($AppName, $request);
|
||||||
$this->userId = $UserId ?? '';
|
$this->userId = $UserId ?? '';
|
||||||
|
|
|
@ -23,7 +23,7 @@ class PodcastData implements JsonSerializable {
|
||||||
?string $description,
|
?string $description,
|
||||||
?string $imageUrl,
|
?string $imageUrl,
|
||||||
int $fetchedAtUnix,
|
int $fetchedAtUnix,
|
||||||
?string $imageBlob = null,
|
?string $imageBlob = null
|
||||||
) {
|
) {
|
||||||
$this->title = $title;
|
$this->title = $title;
|
||||||
$this->author = $author;
|
$this->author = $author;
|
||||||
|
|
|
@ -19,7 +19,7 @@ class PodcastDataReader {
|
||||||
public function __construct(
|
public function __construct(
|
||||||
ICacheFactory $cacheFactory,
|
ICacheFactory $cacheFactory,
|
||||||
IClientService $httpClientService,
|
IClientService $httpClientService,
|
||||||
SubscriptionChangeRepository $subscriptionChangeRepository,
|
SubscriptionChangeRepository $subscriptionChangeRepository
|
||||||
) {
|
) {
|
||||||
if ($cacheFactory->isLocalCacheAvailable()) {
|
if ($cacheFactory->isLocalCacheAvailable()) {
|
||||||
$this->cache = $cacheFactory->createLocal('GPodderSync-Podcasts');
|
$this->cache = $cacheFactory->createLocal('GPodderSync-Podcasts');
|
||||||
|
|
|
@ -13,7 +13,7 @@ class PodcastMetrics implements JsonSerializable {
|
||||||
public function __construct(
|
public function __construct(
|
||||||
string $url,
|
string $url,
|
||||||
int $listenedSeconds = 0,
|
int $listenedSeconds = 0,
|
||||||
?PodcastActionCounts $actionCounts = null,
|
?PodcastActionCounts $actionCounts = null
|
||||||
) {
|
) {
|
||||||
$this->url = $url;
|
$this->url = $url;
|
||||||
$this->actionCounts = $actionCounts ?? new PodcastActionCounts;
|
$this->actionCounts = $actionCounts ?? new PodcastActionCounts;
|
||||||
|
|
|
@ -18,7 +18,7 @@ class PodcastMetricsReader {
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
SubscriptionChangeRepository $subscriptionChangeRepository,
|
SubscriptionChangeRepository $subscriptionChangeRepository,
|
||||||
EpisodeActionRepository $episodeActionRepository,
|
EpisodeActionRepository $episodeActionRepository
|
||||||
) {
|
) {
|
||||||
$this->subscriptionChangeRepository = $subscriptionChangeRepository;
|
$this->subscriptionChangeRepository = $subscriptionChangeRepository;
|
||||||
$this->episodeActionRepository = $episodeActionRepository;
|
$this->episodeActionRepository = $episodeActionRepository;
|
||||||
|
|
Loading…
Reference in New Issue