mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 11:37:46 +02:00
refactor: add strict types declaration before each file and fix activitypub issues
fix some style issues
This commit is contained in:
parent
76afc0cfa2
commit
c72f4be6d8
291 changed files with 8727 additions and 7357 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* Class AnalyticsPodcastModel Model for analytics_podcasts table in database
|
||||
*
|
||||
|
|
@ -76,7 +78,7 @@ class AnalyticsPodcastModel extends Model
|
|||
->findAll();
|
||||
|
||||
cache()
|
||||
->save("{$podcastId}_analytics_podcasts_by_weekday", $found, 600,);
|
||||
->save("{$podcastId}_analytics_podcasts_by_weekday", $found, 600);
|
||||
}
|
||||
return $found;
|
||||
}
|
||||
|
|
@ -98,7 +100,7 @@ class AnalyticsPodcastModel extends Model
|
|||
->findAll();
|
||||
|
||||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_by_bandwidth", $found, 600,);
|
||||
->save("{$podcastId}_analytics_podcast_by_bandwidth", $found, 600);
|
||||
}
|
||||
return $found;
|
||||
}
|
||||
|
|
@ -121,7 +123,7 @@ class AnalyticsPodcastModel extends Model
|
|||
->findAll();
|
||||
|
||||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_by_month", $found, 600,);
|
||||
->save("{$podcastId}_analytics_podcast_by_month", $found, 600);
|
||||
}
|
||||
return $found;
|
||||
}
|
||||
|
|
@ -145,7 +147,7 @@ class AnalyticsPodcastModel extends Model
|
|||
->findAll();
|
||||
|
||||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_unique_listeners_by_day", $found, 600,);
|
||||
->save("{$podcastId}_analytics_podcast_unique_listeners_by_day", $found, 600);
|
||||
}
|
||||
return $found;
|
||||
}
|
||||
|
|
@ -170,7 +172,7 @@ class AnalyticsPodcastModel extends Model
|
|||
->findAll();
|
||||
|
||||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_unique_listeners_by_month", $found, 600,);
|
||||
->save("{$podcastId}_analytics_podcast_unique_listeners_by_month", $found, 600);
|
||||
}
|
||||
return $found;
|
||||
}
|
||||
|
|
@ -196,7 +198,7 @@ class AnalyticsPodcastModel extends Model
|
|||
->findAll();
|
||||
|
||||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_listening_time_by_day", $found, 600,);
|
||||
->save("{$podcastId}_analytics_podcast_listening_time_by_day", $found, 600);
|
||||
}
|
||||
return $found;
|
||||
}
|
||||
|
|
@ -221,7 +223,7 @@ class AnalyticsPodcastModel extends Model
|
|||
->findAll();
|
||||
|
||||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_listening_time_by_month", $found, 600,);
|
||||
->save("{$podcastId}_analytics_podcast_listening_time_by_month", $found, 600);
|
||||
}
|
||||
return $found;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue