@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * Checks if a "constant" has been set in Jetpack_Constants |
36 | 36 | * and has the value of true |
37 | 37 | * |
38 | - * @param $name string The name of the constant |
|
38 | + * @param string $name string The name of the constant |
|
39 | 39 | * |
40 | 40 | * @return bool |
41 | 41 | */ |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | * |
62 | 62 | * @param $name |
63 | 63 | * |
64 | - * @return mixed null if the constant does not exist or the value of the constant. |
|
64 | + * @return string null if the constant does not exist or the value of the constant. |
|
65 | 65 | */ |
66 | 66 | public static function get_constant( $name ) { |
67 | 67 | if ( array_key_exists( $name, self::$set_constants ) ) { |
@@ -74,8 +74,8 @@ discard block |
||
74 | 74 | /** |
75 | 75 | * Sets the value of the "constant" within Jetpack_Constants. |
76 | 76 | * |
77 | - * @param $name string The name of the "constant" |
|
78 | - * @param $value string The value of the "constant" |
|
77 | + * @param string $name string The name of the "constant" |
|
78 | + * @param boolean $value string The value of the "constant" |
|
79 | 79 | */ |
80 | 80 | public static function set_constant( $name, $value ) { |
81 | 81 | self::$set_constants[ $name ] = $value; |