mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Do not use php 8-only flag
This commit is contained in:
parent
53d5c35a81
commit
650f5d0659
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class ApplePayDataObjectHttp {
|
|||
* @return void
|
||||
*/
|
||||
public function validation_data(): void {
|
||||
$data = filter_input( INPUT_POST, 'validation', FILTER_VALIDATE_BOOL );
|
||||
$data = filter_input( INPUT_POST, 'validation', FILTER_VALIDATE_BOOLEAN );
|
||||
if ( ! $data ) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue