@@ -57879,7 +57879,7 @@ public function get_var($query = \null, $x = 0, $y = 0)
5787957879 * @param int $y Optional. Row to return. Indexed from 0. Default 0.
5788057880 * @return array|object|null|void Database query result in format specified by $output or null on failure.
5788157881 * @phpstan-param 'OBJECT'|'ARRAY_A'|'ARRAY_N' $output
57882- * @phpstan-param 0| int<1 , max> $y
57882+ * @phpstan-param int<0 , max> $y
5788357883 * @phpstan-return null|void|($output is 'ARRAY_A' ? array<array-key, mixed> : ($output is 'ARRAY_N' ? list<mixed> : \stdClass))
5788457884 */
5788557885 public function get_row($query = \null, $output = \OBJECT, $y = 0)
@@ -79481,7 +79481,7 @@ function get_link_to_edit($link)
7948179481 * link_rss?: string,
7948279482 * link_category?: int,
7948379483 * } $linkdata
79484- * @phpstan-return ($wp_error is false ? 0| int<1 , max> : int<1, max>|\WP_Error)
79484+ * @phpstan-return ($wp_error is false ? int<0 , max> : int<1, max>|\WP_Error)
7948579485 */
7948679486 function wp_insert_link($linkdata, $wp_error = \false)
7948779487 {
@@ -86498,7 +86498,7 @@ function wp_create_categories($categories, $post_id = '')
8649886498 * category_nicename?: string,
8649986499 * category_parent?: int|string,
8650086500 * } $catarr
86501- * @phpstan-return ($wp_error is false ? 0| int<1 , max> : int<1, max>|\WP_Error)
86501+ * @phpstan-return ($wp_error is false ? int<0 , max> : int<1, max>|\WP_Error)
8650286502 */
8650386503 function wp_insert_category($catarr, $wp_error = \false)
8650486504 {
@@ -100276,7 +100276,7 @@ function wp_unschedule_event($timestamp, $hook, $args = array(), $wp_error = \fa
100276100276 * events were registered with the hook and arguments combination), false or WP_Error
100277100277 * if unscheduling one or more events fail.
100278100278 * @phpstan-param list<mixed> $args
100279- * @phpstan-return (0| int<1 , max>|($wp_error is false ? false : \WP_Error))
100279+ * @phpstan-return (int<0 , max>|($wp_error is false ? false : \WP_Error))
100280100280 */
100281100281 function wp_clear_scheduled_hook($hook, $args = array(), $wp_error = \false)
100282100282 {
@@ -100299,7 +100299,7 @@ function wp_clear_scheduled_hook($hook, $args = array(), $wp_error = \false)
100299100299 * @param bool $wp_error Optional. Whether to return a WP_Error on failure. Default false.
100300100300 * @return int|false|WP_Error On success an integer indicating number of events unscheduled (0 indicates no
100301100301 * events were registered on the hook), false or WP_Error if unscheduling fails.
100302- * @phpstan-return ($wp_error is false ? 0| int<1 , max>|false : 0| int<1 , max>|\WP_Error)
100302+ * @phpstan-return ($wp_error is false ? int<0 , max>|false : int<0 , max>|\WP_Error)
100303100303 */
100304100304 function wp_unschedule_hook($hook, $wp_error = \false)
100305100305 {
@@ -128991,7 +128991,7 @@ function wp_get_recent_posts($args = array(), $output = \ARRAY_A)
128991128991 * meta_input?: array,
128992128992 * page_template?: string,
128993128993 * } $postarr
128994- * @phpstan-return ($wp_error is false ? 0| int<1 , max> : int<1, max>|\WP_Error)
128994+ * @phpstan-return ($wp_error is false ? int<0 , max> : int<1, max>|\WP_Error)
128995128995 */
128996128996 function wp_insert_post($postarr, $wp_error = \false, $fire_after_hooks = \true)
128997128997 {
@@ -129040,7 +129040,7 @@ function wp_insert_post($postarr, $wp_error = \false, $fire_after_hooks = \true)
129040129040 * meta_input?: array,
129041129041 * page_template?: string,
129042129042 * } $postarr See wp_insert_post()
129043- * @phpstan-return ($wp_error is false ? 0| int<1 , max> : int<1, max>|\WP_Error)
129043+ * @phpstan-return ($wp_error is false ? int<0 , max> : int<1, max>|\WP_Error)
129044129044 */
129045129045 function wp_update_post($postarr = array(), $wp_error = \false, $fire_after_hooks = \true)
129046129046 {
@@ -129506,7 +129506,7 @@ function is_local_attachment($url)
129506129506 * @param bool $wp_error Optional. Whether to return a WP_Error on failure. Default false.
129507129507 * @param bool $fire_after_hooks Optional. Whether to fire the after insert hooks. Default true.
129508129508 * @return int|WP_Error The attachment ID on success. The value 0 or WP_Error on failure.
129509- * @phpstan-return ($wp_error is false ? 0| int<1 , max> : int<1, max>|\WP_Error)
129509+ * @phpstan-return ($wp_error is false ? int<0 , max> : int<1, max>|\WP_Error)
129510129510 */
129511129511 function wp_insert_attachment($args, $file = \false, $parent_post_id = 0, $wp_error = \false, $fire_after_hooks = \true)
129512129512 {
0 commit comments