mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[CS][DX] Refactor
This commit is contained in:
parent
b76d2dfacb
commit
74f14c068d
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue