mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:44:02 +00:00
Fix code style (php-cs-fixer)
This commit is contained in:
parent
fadf1001f8
commit
be93d6031c
1 changed files with 3 additions and 2 deletions
|
|
@ -38,6 +38,7 @@ class DisallowSqliteAttach implements Feature
|
|||
{
|
||||
if (PHP_VERSION_ID >= 80500) {
|
||||
$this->setNativeAuthorizer($pdo);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -72,8 +73,8 @@ class DisallowSqliteAttach implements Feature
|
|||
{
|
||||
$pdo->setAuthorizer(static function (int $action): int {
|
||||
return $action === 24 // SQLITE_ATTACH
|
||||
? Pdo\Sqlite::DENY
|
||||
: Pdo\Sqlite::OK;
|
||||
? PDO\Sqlite::DENY
|
||||
: PDO\Sqlite::OK;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue