You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: classes/Compatibility.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ class Compatibility {
8
8
*
9
9
* @since 0.1
10
10
*/
11
-
publicstaticfunctionadmin_init() {
11
+
publicstaticfunctionadmin_init() : void{
12
12
// Not on ajax
13
13
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
14
14
return;
@@ -37,7 +37,7 @@ public static function admin_init() {
37
37
/**
38
38
* Notify the user about the incompatibility issue.
39
39
*/
40
-
publicstaticfunctionadmin_notices() {
40
+
publicstaticfunctionadmin_notices(): void {
41
41
echo'<div class="notice error is-dismissible">';
42
42
/* translators: %1$s: PHP min version %2$s: Current PHP version */
43
43
echo'<p>' . esc_html( sprintf( __( 'Plugin Boilerplate require PHP version %1$s or greater to be activated. Your server is currently running PHP version %2$s.', 'bea-plugin-boilerplate' ), BEA_PB_MIN_PHP_VERSION, PHP_VERSION ) ) . '</p>';
0 commit comments