mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-09 01:36:42 +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
|
|
@ -14,7 +14,6 @@ use App\Models\PodcastModel;
|
|||
use CodeIgniter\Database\Exceptions\DatabaseException;
|
||||
use CodeIgniter\HTTP\RedirectResponse;
|
||||
use CodeIgniter\HTTP\ResponseInterface;
|
||||
use Config\Cache;
|
||||
use Modules\Media\FileManagers\FileManagerInterface;
|
||||
|
||||
class HomeController extends BaseController
|
||||
|
|
@ -54,7 +53,7 @@ class HomeController extends BaseController
|
|||
}
|
||||
|
||||
// --- Can Castopod connect to the cache handler
|
||||
if (config(Cache::class)->handler !== 'dummy' && cache()->getCacheInfo() === null) {
|
||||
if (config('Cache')->handler !== 'dummy' && cache()->getCacheInfo() === null) {
|
||||
$errors[] = 'Unable connect to the cache handler.';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue