Skip to content

Commit

Permalink
Remove void return type to maintain compatibility with php 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxwellGarceau committed Dec 19, 2024
1 parent e1504ae commit fcce0a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/admin/admin-notices.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @param string $msg The message to display.
* @return void
*/
function mailchimp_sf_admin_notice_success( string $msg ): void {
function mailchimp_sf_admin_notice_success( string $msg ) {
?>
<div class="notice notice-success is-dismissible">
<p>
Expand Down Expand Up @@ -54,7 +54,7 @@ function mailchimp_sf_admin_notice_success( string $msg ): void {
* @param string $msg The message to display.
* @return void
*/
function mailchimp_sf_admin_notice_error( string $msg ): void {
function mailchimp_sf_admin_notice_error( string $msg ) {
?>
<div class="notice notice-error">
<p>
Expand Down

0 comments on commit fcce0a8

Please sign in to comment.