mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 14:44:05 +00:00
Resolve misc todos, fix phpstan error
This commit is contained in:
parent
be93d6031c
commit
5dfb4843b9
4 changed files with 8 additions and 8 deletions
|
|
@ -71,6 +71,7 @@ class DisallowSqliteAttach implements Feature
|
|||
|
||||
protected function setNativeAuthorizer(PDO $pdo): void
|
||||
{
|
||||
// @phpstan-ignore method.notFound
|
||||
$pdo->setAuthorizer(static function (int $action): int {
|
||||
return $action === 24 // SQLITE_ATTACH
|
||||
? PDO\Sqlite::DENY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue