[CS][DX] Refactor

This commit is contained in:
Sylius Bot 2024-11-08 02:25:01 +00:00 committed by GitHub
parent b76d2dfacb
commit 74f14c068d
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ final class PaymentMethodExtension extends AbstractExtension
return array_filter(
$this->gatewayFactories,
fn (string $gatewayFactory) => !in_array($gatewayFactory, $this->excludedGatewayFactories, true),
ARRAY_FILTER_USE_KEY
\ARRAY_FILTER_USE_KEY,
);
}
}

View file

@ -122,7 +122,7 @@ final class DatabaseSetupCommandsProvider implements DatabaseSetupCommandsProvid
return $this->schemaManager;
}
protected function isSQLite(): bool
private function isSQLite(): bool
{
$platform = $this->entityManager->getConnection()->getDatabasePlatform();