Skip to content

Commit

Permalink
Fix missing return statements
Browse files Browse the repository at this point in the history
  • Loading branch information
nateweller committed Oct 8, 2024
1 parent 5c218eb commit a4677e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/packages/waf/src/class-compatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private static function get_ip_allow_list_enabled_option_name() {
* @see peb6dq-2HL-p2
*/
if ( ! defined( 'Waf_Rules_Manager::IP_ALLOW_LIST_ENABLED_OPTION_NAME' ) ) {
'jetpack_waf_ip_allow_list_enabled';
return 'jetpack_waf_ip_allow_list_enabled';
}

return Waf_Rules_Manager::IP_ALLOW_LIST_ENABLED_OPTION_NAME;
Expand All @@ -50,7 +50,7 @@ private static function get_ip_block_list_enabled_option_name() {
* @see peb6dq-2HL-p2
*/
if ( ! defined( 'Waf_Rules_Manager::IP_BLOCK_LIST_ENABLED_OPTION_NAME' ) ) {
'jetpack_waf_ip_block_list_enabled';
return 'jetpack_waf_ip_block_list_enabled';
}

return Waf_Rules_Manager::IP_BLOCK_LIST_ENABLED_OPTION_NAME;
Expand Down

0 comments on commit a4677e9

Please sign in to comment.