mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 02:36:42 +02:00
chore(phpstan): remove redundant dynamicConstantNames
+ update quality tools
This commit is contained in:
parent
cc19c24668
commit
2dd9cc9ef5
18 changed files with 110 additions and 110 deletions
|
|
@ -121,7 +121,7 @@ class InstallController extends Controller
|
|||
|
||||
// Check if instance owner has been created, meaning install was completed
|
||||
if ($db->tableExists('users') && (new UserModel())->where('is_owner', true)
|
||||
->first() !== null
|
||||
->first() instanceof User
|
||||
) {
|
||||
// if so, show a 404 page
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue