| @@ -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; |