Do not use php 8-only flag

This commit is contained in:
Alex P. 2025-07-15 14:51:06 +03:00
parent 53d5c35a81
commit 650f5d0659
No known key found for this signature in database
GPG key ID: 68E4DCB139B18520

View file

@ -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;
}