diff --git a/src/Features/DisallowSqliteAttach.php b/src/Features/DisallowSqliteAttach.php index 5cbfbf50..e5ae5c8f 100644 --- a/src/Features/DisallowSqliteAttach.php +++ b/src/Features/DisallowSqliteAttach.php @@ -74,8 +74,8 @@ class DisallowSqliteAttach implements Feature // @phpstan-ignore method.notFound $pdo->setAuthorizer(static function (int $action): int { return $action === 24 // SQLITE_ATTACH - ? PDO\Sqlite::DENY - : PDO\Sqlite::OK; + ? PDO\Sqlite::DENY // @phpstan-ignore classConstant.notFound + : PDO\Sqlite::OK; // @phpstan-ignore classConstant.notFound }); } } diff --git a/src/helpers.php b/src/helpers.php index 0b812e65..75514714 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -30,7 +30,6 @@ if (! function_exists('tenant')) { return app(Tenant::class); } - // @phpstan-ignore-next-line nullsafe.neverNull return app(Tenant::class)?->getAttribute($key); } }