Completed
Push — milestone/2_0/react-ui ( 75a435...d33541 )
by
unknown
03:48
created
core/Helper/Helper.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 	 * @param int $id Post ID
106 106
 	 * @param string $name Custom field name
107 107
 	 * @param array $value
108
-	 * @return bool Success
108
+	 * @return boolean|null Success
109 109
 	 */
110 110
 	public static function set_post_meta( $id, $name, $value, $container_id = '' ) {
111 111
 		return static::set_value( $id, 'post_meta', $container_id, $name, $value );
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 	 *
127 127
 	 * @param string $name Field name
128 128
 	 * @param array $value
129
-	 * @return bool Success
129
+	 * @return boolean|null Success
130 130
 	 */
131 131
 	public static function set_theme_option( $name, $value, $container_id = '' ) {
132 132
 		return static::set_value( null, 'theme_options', $container_id, $name, $value );
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 	 * @param int $id Term ID
150 150
 	 * @param string $name Field name
151 151
 	 * @param array $value
152
-	 * @return bool Success
152
+	 * @return boolean|null Success
153 153
 	 */
154 154
 	public static function set_term_meta( $id, $name, $value, $container_id = '' ) {
155 155
 		return static::set_value( $id, 'term_meta', $container_id, $name, $value );
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 	 * @param int $id User ID
173 173
 	 * @param string $name Field name
174 174
 	 * @param array $value
175
-	 * @return bool Success
175
+	 * @return boolean|null Success
176 176
 	 */
177 177
 	public static function set_user_meta( $id, $name, $value, $container_id = '' ) {
178 178
 		return static::set_value( $id, 'user_meta', $container_id, $name, $value );
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 	 * @param int $id Comment ID
196 196
 	 * @param string $name Field name
197 197
 	 * @param array $value
198
-	 * @return bool Success
198
+	 * @return boolean|null Success
199 199
 	 */
200 200
 	public static function set_comment_meta( $id, $name, $value, $container_id = '' ) {
201 201
 		return static::set_value( $id, 'comment_meta', $container_id, $name, $value );
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 	 * 
207 207
 	 * @param  array  &$array     The input array.
208 208
 	 * @param  int    $sort_flags Flags for controlling sorting behavior.
209
-	 * @return array              Sorted array.
209
+	 * @return boolean              Sorted array.
210 210
 	 */
211 211
 	public static function ksort_recursive( &$array, $sort_flags = SORT_REGULAR ) {
212 212
 		if ( ! is_array( $array ) ) {
Please login to merge, or discard this patch.