Skip to content

Commit e1cda07

Browse files
Lint php
1 parent 94d4a13 commit e1cda07

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
<?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => '11d04f72fe03b2aa1166');
1+
<?php return array(
2+
'dependencies' => array( 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n' ),
3+
'version' => '11d04f72fe03b2aa1166',
4+
);

includes/Performance.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function admin_bar_menu( \WP_Admin_Bar $wp_admin_bar ) {
241241
'id' => 'nfd_purge_menu-purge_all',
242242
'title' => __( 'Purge All', 'wp-module-performance' ),
243243
'parent' => 'nfd_purge_menu',
244-
'href' => apply_filters( 'nfd_build_url', add_query_arg( array( self::PURGE_ALL => true ) ) ),
244+
'href' => apply_filters( 'nfd_build_url', add_query_arg( array( self::PURGE_ALL => true ) ) ),
245245
)
246246
);
247247

@@ -251,7 +251,7 @@ public function admin_bar_menu( \WP_Admin_Bar $wp_admin_bar ) {
251251
'id' => 'nfd_purge_menu-purge_single',
252252
'title' => __( 'Purge This Page', 'wp-module-performance' ),
253253
'parent' => 'nfd_purge_menu',
254-
'href' => apply_filters( 'nfd_build_url', add_query_arg( array( self::PURGE_URL => true ) ) ),
254+
'href' => apply_filters( 'nfd_build_url', add_query_arg( array( self::PURGE_URL => true ) ) ),
255255
)
256256
);
257257
}
@@ -262,7 +262,7 @@ public function admin_bar_menu( \WP_Admin_Bar $wp_admin_bar ) {
262262
'id' => 'nfd_purge_menu-cache_settings',
263263
'title' => __( 'Cache Settings', 'wp-module-performance' ),
264264
'parent' => 'nfd_purge_menu',
265-
'href' => apply_filters( 'nfd_build_url', admin_url( 'tools.php?page=' . self::PAGE_SLUG ) ),
265+
'href' => apply_filters( 'nfd_build_url', admin_url( 'tools.php?page=' . self::PAGE_SLUG ) ),
266266
)
267267
);
268268
}

0 commit comments

Comments
 (0)