mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
Fix phpcs
This commit is contained in:
parent
4ae592541f
commit
b5f4e03f2a
2 changed files with 2 additions and 2 deletions
|
@ -285,7 +285,7 @@ class AxoModule implements ModuleInterface {
|
|||
* @param Settings $settings The settings.
|
||||
* @return bool
|
||||
*/
|
||||
private function should_render_fastlane( Settings $settings): bool {
|
||||
private function should_render_fastlane( Settings $settings ): bool {
|
||||
$is_axo_enabled = $settings->has( 'axo_enabled' ) && $settings->get( 'axo_enabled' ) ?? false;
|
||||
|
||||
return ! is_user_logged_in()
|
||||
|
|
|
@ -60,7 +60,7 @@ class CartCheckoutDetector {
|
|||
* @return bool
|
||||
*/
|
||||
public static function has_elementor_checkout(): bool {
|
||||
// Check if Elementor is installed and activated
|
||||
// Check if Elementor is installed and activated.
|
||||
if ( did_action( 'elementor/loaded' ) ) {
|
||||
$elementor_widgets = self::get_elementor_widgets( wc_get_page_id( 'checkout' ) );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue