Skip to content

Commit 4faff62

Browse files
datamwebkenjis
authored andcommitted
fix: use new() for pass phpstan error
1 parent eafae2c commit 4faff62

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/Config/Constants.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* Constants Name of Shield Tables
7-
*/
8-
define('SHIELD_TABLES', config('Auth')->tables);
5+
use CodeIgniter\Shield\Config\Auth as ShieldAuth;
6+
7+
define('SHIELD_TABLES', (new ShieldAuth())->tables);

0 commit comments

Comments
 (0)