mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 11:16:43 +02:00
refactor: add modules folder to phpstan paths + fix errors
This commit is contained in:
parent
7a6d9df6db
commit
bb628f355f
166 changed files with 452 additions and 526 deletions
|
|
@ -9,7 +9,6 @@ use App\Models\PodcastModel;
|
|||
use CodeIgniter\CLI\BaseCommand;
|
||||
use CodeIgniter\HTTP\CURLRequest;
|
||||
use Exception;
|
||||
use Modules\WebSub\Config\WebSub;
|
||||
|
||||
class Publish extends BaseCommand
|
||||
{
|
||||
|
|
@ -56,7 +55,7 @@ class Publish extends BaseCommand
|
|||
],
|
||||
];
|
||||
|
||||
$hubUrls = config(WebSub::class)
|
||||
$hubUrls = config('WebSub')
|
||||
->hubs;
|
||||
|
||||
foreach ($podcasts as $podcast) {
|
||||
|
|
@ -78,7 +77,7 @@ class Publish extends BaseCommand
|
|||
|
||||
// set podcast feed as having been pushed onto hubs
|
||||
(new PodcastModel())->update($podcast->id, [
|
||||
'is_published_on_hubs' => true,
|
||||
'is_published_on_hubs' => 1,
|
||||
]);
|
||||
|
||||
// set newly published episodes as pushed onto hubs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue