| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | * Setup actions |
| 32 | 32 | * |
| 33 | 33 | * @since 2.3.9 |
| 34 | 34 | * |
| 35 | - * @param object $polylang | |
| 35 | + * @param object $polylang The Polylang object. | |
| 36 | 36 | */ |
| 37 | 37 | public function __construct( $polylang ) { |
| 38 | 38 | $this->options = &$polylang->options; |
| 39 | 39 | |
| @@ -133,13 +133,13 @@ | ||
| 133 | 133 | ); |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | /** |
| 137 | - * Stores a dismissed notice in database | |
| 137 | + * Stores a dismissed notice in the database. | |
| 138 | 138 | * |
| 139 | 139 | * @since 2.3.9 |
| 140 | 140 | * |
| 141 | - * @param string $notice | |
| 141 | + * @param string $notice Notice name. | |
| 142 | 142 | * @return void |
| 143 | 143 | */ |
| 144 | 144 | public static function dismiss( $notice ) { |
| 145 | 145 | $dismissed = get_option( 'pll_dismissed_notices', array() ); |