| @@ -8,9 +8,9 @@ | ||
| 8 | 8 | * Class Alert_Dismissal_Action. |
| 9 | 9 | */ |
| 10 | 10 | class Alert_Dismissal_Action { |
| 11 | 11 | |
| 12 | - const USER_META_KEY = '_yoast_alerts_dismissed'; | |
| 12 | + public const USER_META_KEY = '_yoast_alerts_dismissed'; | |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * Holds the user helper instance. |
| 16 | 16 | * |
| @@ -195,9 +195,9 @@ | ||
| 195 | 195 | protected function get_allowed_dismissable_alerts() { |
| 196 | 196 | /** |
| 197 | 197 | * Filter: 'wpseo_allowed_dismissable_alerts' - List of allowed dismissable alerts. |
| 198 | 198 | * |
| 199 | - * @api string[] $allowed_dismissable_alerts Allowed dismissable alerts list. | |
| 199 | + * @param string[] $allowed_dismissable_alerts Allowed dismissable alerts list. | |
| 200 | 200 | */ |
| 201 | 201 | $allowed_dismissable_alerts = \apply_filters( 'wpseo_allowed_dismissable_alerts', [] ); |
| 202 | 202 | |
| 203 | 203 | if ( \is_array( $allowed_dismissable_alerts ) === false ) { |