adyen_gateway/adyen_checkout_gateway.body.php
Method addGatewaySpecificResources
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function addGatewaySpecificResources( $out ): void {
$script = $this->adapter->getAccountConfig( 'Script' );
$css = $this->adapter->getAccountConfig( 'Css' );
if ( $this->adapter->getPaymentMethod() == 'google' ) {
$googleScript = $this->adapter->getAccountConfig( 'GoogleScript' );