← All changes
|
jetpack_vendor/automattic/jetpack-constants/src/class-constants.php
+3
-3
12.4.2
→
16.3
View file →
| @@ -28,9 +28,9 @@ | ||
| 28 | 28 | * |
| 29 | 29 | * @access public |
| 30 | 30 | * @static |
| 31 | 31 | * |
| 32 | - * @var array. | |
| 32 | + * @var array | |
| 33 | 33 | */ |
| 34 | 34 | public static $set_constants = array(); |
| 35 | 35 | |
| 36 | 36 | /** |
| @@ -90,10 +90,10 @@ | ||
| 90 | 90 | |
| 91 | 91 | /** |
| 92 | 92 | * Sets the value of the "constant" within constants Manager. |
| 93 | 93 | * |
| 94 | - * @param string $name The name of the constant. | |
| 95 | - * @param string $value The value of the constant. | |
| 94 | + * @param string $name The name of the constant. | |
| 95 | + * @param int|float|string|bool|array|null $value The value of the constant. | |
| 96 | 96 | */ |
| 97 | 97 | public static function set_constant( $name, $value ) { |
| 98 | 98 | self::$set_constants[ $name ] = $value; |
| 99 | 99 | } |