mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-08 21:52:55 +08:00
remove void return type because of PHP 7.0
This commit is contained in:
parent
22ffab2303
commit
c1049e06c6
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ class SettingsPageAssets {
|
||||||
/**
|
/**
|
||||||
* Register assets provided by this module.
|
* Register assets provided by this module.
|
||||||
*/
|
*/
|
||||||
public function register_assets(): void {
|
public function register_assets() {
|
||||||
if ( is_admin() && ! is_ajax() ) {
|
if ( is_admin() && ! is_ajax() ) {
|
||||||
$this->register_admin_assets();
|
$this->register_admin_assets();
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ class SettingsPageAssets {
|
||||||
/**
|
/**
|
||||||
* Register assets for admin pages.
|
* Register assets for admin pages.
|
||||||
*/
|
*/
|
||||||
private function register_admin_assets(): void {
|
private function register_admin_assets() {
|
||||||
add_action(
|
add_action(
|
||||||
'admin_enqueue_scripts',
|
'admin_enqueue_scripts',
|
||||||
function() {
|
function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue