Completed
Push — milestone/2.0 ( e2bf74...0dfc11 )
by
unknown
08:58
created
core/Helper/Helper.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 	 * @param int $id Post ID
97 97
 	 * @param string $name Custom field name
98 98
 	 * @param array $value
99
-	 * @return bool Success
99
+	 * @return boolean|null Success
100 100
 	 */
101 101
 	public static function set_post_meta( $id, $name, $value ) {
102 102
 		return static::set_value( $id, 'Post_Meta', $name, $value );
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 	 *
118 118
 	 * @param string $name Field name
119 119
 	 * @param array $value
120
-	 * @return bool Success
120
+	 * @return boolean|null Success
121 121
 	 */
122 122
 	public static function set_theme_option( $name, $value ) {
123 123
 		return static::set_value( null, 'Theme_Options', $name, $value );
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 	 * @param int $id Term ID
141 141
 	 * @param string $name Field name
142 142
 	 * @param array $value
143
-	 * @return bool Success
143
+	 * @return boolean|null Success
144 144
 	 */
145 145
 	public static function set_term_meta( $id, $name, $value ) {
146 146
 		return static::set_value( $id, 'Term_Meta', $name, $value );
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
 	 * @param int $id User ID
164 164
 	 * @param string $name Field name
165 165
 	 * @param array $value
166
-	 * @return bool Success
166
+	 * @return boolean|null Success
167 167
 	 */
168 168
 	public static function set_user_meta( $id, $name, $value ) {
169 169
 		return static::set_value( $id, 'user_meta', $name, $value );
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 	 * @param int $id Comment ID
187 187
 	 * @param string $name Field name
188 188
 	 * @param array $value
189
-	 * @return bool Success
189
+	 * @return boolean|null Success
190 190
 	 */
191 191
 	public static function set_comment_meta( $id, $name, $value ) {
192 192
 		return static::set_value( $id, 'comment_meta', $name, $value );
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 	 * 
198 198
 	 * @param  array  &$array     The input array.
199 199
 	 * @param  int    $sort_flags Flags for controlling sorting behavior.
200
-	 * @return array              Sorted array.
200
+	 * @return boolean              Sorted array.
201 201
 	 */
202 202
 	public static function ksort_recursive( &$array, $sort_flags = SORT_REGULAR ) {
203 203
 		if ( ! is_array( $array ) ) {
Please login to merge, or discard this patch.