mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 10:46:43 +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 AnalyticsWebsiteByRefererModel Model for analytics_website_by_referer table in database
|
||||
*
|
||||
|
|
@ -54,7 +56,7 @@ class AnalyticsWebsiteByRefererModel extends Model
|
|||
->orderBy('values', 'DESC')
|
||||
->findAll();
|
||||
cache()
|
||||
->save("{$podcastId}_analytics_website_by_referer", $found, 600,);
|
||||
->save("{$podcastId}_analytics_website_by_referer", $found, 600);
|
||||
}
|
||||
return $found;
|
||||
}
|
||||
|
|
@ -80,7 +82,7 @@ class AnalyticsWebsiteByRefererModel extends Model
|
|||
->orderBy('values', 'DESC')
|
||||
->findAll();
|
||||
cache()
|
||||
->save("{$podcastId}_analytics_website_by_domain_weekly", $found, 600,);
|
||||
->save("{$podcastId}_analytics_website_by_domain_weekly", $found, 600);
|
||||
}
|
||||
return $found;
|
||||
}
|
||||
|
|
@ -106,7 +108,7 @@ class AnalyticsWebsiteByRefererModel extends Model
|
|||
->orderBy('values', 'DESC')
|
||||
->findAll();
|
||||
cache()
|
||||
->save("{$podcastId}_analytics_website_by_domain_yearly", $found, 600,);
|
||||
->save("{$podcastId}_analytics_website_by_domain_yearly", $found, 600);
|
||||
}
|
||||
return $found;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue