1
0
Fork 0
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:
Samuel Štancl 2025-10-19 18:44:58 +02:00
parent be93d6031c
commit 5dfb4843b9
No known key found for this signature in database
GPG key ID: BA146259A1E16C57
4 changed files with 8 additions and 8 deletions

View file

@ -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