Skip to content

Commit 500ecf7

Browse files
committed
Fix simple liniting issues
1 parent 31c7d4e commit 500ecf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

themes/osi/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ function osi_ssp_register_post_type_args( array $args ): array {
621621
*
622622
* @return boolean The result.
623623
*/
624-
function osi_block_booking_if_phone_filled( $result, $em_booking ) {
624+
function osi_block_booking_if_phone_filled( bool $result, EM_Booking $em_booking ) {
625625
if ( ! empty( $em_booking->event ) ) {
626626
if ( isset( $_POST['phone_hp'] ) && trim( $_POST['phone_hp'] ) !== '' ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
627627
$em_booking->add_error( 'There was a problem with your booking. Please do not include a phone number.' );

0 commit comments

Comments
 (0)