1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 08:24:04 +00:00

Fix code style (php-cs-fixer)

This commit is contained in:
github-actions[bot] 2025-10-19 23:47:46 +00:00
parent fadf1001f8
commit be93d6031c

View file

@ -38,6 +38,7 @@ class DisallowSqliteAttach implements Feature
{ {
if (PHP_VERSION_ID >= 80500) { if (PHP_VERSION_ID >= 80500) {
$this->setNativeAuthorizer($pdo); $this->setNativeAuthorizer($pdo);
return true; return true;
} }
@ -72,8 +73,8 @@ class DisallowSqliteAttach implements Feature
{ {
$pdo->setAuthorizer(static function (int $action): int { $pdo->setAuthorizer(static function (int $action): int {
return $action === 24 // SQLITE_ATTACH return $action === 24 // SQLITE_ATTACH
? Pdo\Sqlite::DENY ? PDO\Sqlite::DENY
: Pdo\Sqlite::OK; : PDO\Sqlite::OK;
}); });
} }
} }