@@ -57879,7 +57879,7 @@ public function get_var($query = \null, $x = 0, $y = 0)
57879
57879
* @param int $y Optional. Row to return. Indexed from 0. Default 0.
57880
57880
* @return array|object|null|void Database query result in format specified by $output or null on failure.
57881
57881
* @phpstan-param 'OBJECT'|'ARRAY_A'|'ARRAY_N' $output
57882
- * @phpstan-param 0| int<1 , max> $y
57882
+ * @phpstan-param int<0 , max> $y
57883
57883
* @phpstan-return null|void|($output is 'ARRAY_A' ? array<array-key, mixed> : ($output is 'ARRAY_N' ? list<mixed> : \stdClass))
57884
57884
*/
57885
57885
public function get_row($query = \null, $output = \OBJECT, $y = 0)
@@ -79481,7 +79481,7 @@ function get_link_to_edit($link)
79481
79481
* link_rss?: string,
79482
79482
* link_category?: int,
79483
79483
* } $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)
79485
79485
*/
79486
79486
function wp_insert_link($linkdata, $wp_error = \false)
79487
79487
{
@@ -86498,7 +86498,7 @@ function wp_create_categories($categories, $post_id = '')
86498
86498
* category_nicename?: string,
86499
86499
* category_parent?: int|string,
86500
86500
* } $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)
86502
86502
*/
86503
86503
function wp_insert_category($catarr, $wp_error = \false)
86504
86504
{
@@ -100276,7 +100276,7 @@ function wp_unschedule_event($timestamp, $hook, $args = array(), $wp_error = \fa
100276
100276
* events were registered with the hook and arguments combination), false or WP_Error
100277
100277
* if unscheduling one or more events fail.
100278
100278
* @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))
100280
100280
*/
100281
100281
function wp_clear_scheduled_hook($hook, $args = array(), $wp_error = \false)
100282
100282
{
@@ -100299,7 +100299,7 @@ function wp_clear_scheduled_hook($hook, $args = array(), $wp_error = \false)
100299
100299
* @param bool $wp_error Optional. Whether to return a WP_Error on failure. Default false.
100300
100300
* @return int|false|WP_Error On success an integer indicating number of events unscheduled (0 indicates no
100301
100301
* 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)
100303
100303
*/
100304
100304
function wp_unschedule_hook($hook, $wp_error = \false)
100305
100305
{
@@ -128991,7 +128991,7 @@ function wp_get_recent_posts($args = array(), $output = \ARRAY_A)
128991
128991
* meta_input?: array,
128992
128992
* page_template?: string,
128993
128993
* } $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)
128995
128995
*/
128996
128996
function wp_insert_post($postarr, $wp_error = \false, $fire_after_hooks = \true)
128997
128997
{
@@ -129040,7 +129040,7 @@ function wp_insert_post($postarr, $wp_error = \false, $fire_after_hooks = \true)
129040
129040
* meta_input?: array,
129041
129041
* page_template?: string,
129042
129042
* } $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)
129044
129044
*/
129045
129045
function wp_update_post($postarr = array(), $wp_error = \false, $fire_after_hooks = \true)
129046
129046
{
@@ -129506,7 +129506,7 @@ function is_local_attachment($url)
129506
129506
* @param bool $wp_error Optional. Whether to return a WP_Error on failure. Default false.
129507
129507
* @param bool $fire_after_hooks Optional. Whether to fire the after insert hooks. Default true.
129508
129508
* @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)
129510
129510
*/
129511
129511
function wp_insert_attachment($args, $file = \false, $parent_post_id = 0, $wp_error = \false, $fire_after_hooks = \true)
129512
129512
{
0 commit comments