PluginProbe
Elementor Website Builder – more than just a page builder / 3.26.3
Elementor Website Builder – more than just a page builder v3.26.3
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | modules/notifications/options.php +2 -2 4.2.13.26.3 View file →
@@ -2,9 +2,9 @@
2 2 namespace Elementor\Modules\Notifications;
3 3
4 4 class Options {
5 5
6 - public static function has_unread_notifications(): bool {
6 + public static function has_unread_notifications() : bool {
7 7 $current_user = wp_get_current_user();
8 8
9 9 if ( ! $current_user ) {
10 10 return false;
@@ -39,9 +39,9 @@
39 39
40 40 return $notifications_dismissed;
41 41 }
42 42
43 - public static function mark_notification_read( $notifications ): bool {
43 + public static function mark_notification_read( $notifications ) : bool {
44 44 $current_user = wp_get_current_user();
45 45
46 46 if ( ! $current_user ) {
47 47 return false;