Skip to content

Commit dda2871

Browse files
committed
Update stubs
1 parent e61ce11 commit dda2871

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?php
22

3-
/**
4-
* @param IntlTimeZone|string|int|float|null $countryOrRawOffset
5-
* @return IntlIterator|false
6-
*/
7-
function intltz_create_enumeration($countryOrRawOffset = null)
3+
/** @param IntlTimeZone|string|int|float|null $countryOrRawOffset */
4+
function intltz_create_enumeration($countryOrRawOffset = null) : \IntlIterator|false
85
{
96
}
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?php
22

3-
/**
4-
* @param string|int $index
5-
* @return mixed
6-
*/
7-
function resourcebundle_get(\ResourceBundle $bundle, $index, bool $fallback = true)
3+
/** @param string|int $index */
4+
function resourcebundle_get(\ResourceBundle $bundle, $index, bool $fallback = true) : mixed
85
{
96
}

stubs/ext/standard/parse_url.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#endif
44
/* url.c */
5-
/** @return mixed */
6-
function parse_url(string $url, int $component = -1)
5+
function parse_url(string $url, int $component = -1) : int|string|array|null|false
76
{
87
}

0 commit comments

Comments
 (0)