refactor: add strict types declaration before each file and fix activitypub issues

fix some style issues
This commit is contained in:
Yassine Doghri 2021-06-08 09:52:11 +00:00
commit c72f4be6d8
No known key found for this signature in database
GPG key ID: 3E7F89498B960C9F
291 changed files with 8727 additions and 7357 deletions

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
/**
* Class AnalyticsPodcastByEpisodeModel Model for analytics_podcasts_by_episodes table in database
*
@ -55,7 +57,7 @@ class AnalyticsPodcastByEpisodeModel extends Model
->findAll();
cache()
->save("{$podcastId}_{$episodeId}_analytics_podcast_by_episode_by_day", $found, 600,);
->save("{$podcastId}_{$episodeId}_analytics_podcast_by_episode_by_day", $found, 600);
}
return $found;
@ -80,7 +82,7 @@ class AnalyticsPodcastByEpisodeModel extends Model
->findAll();
cache()
->save("{$podcastId}_{$episodeId}_analytics_podcast_by_episode_by_month", $found, 600,);
->save("{$podcastId}_{$episodeId}_analytics_podcast_by_episode_by_month", $found, 600);
}
return $found;