Skip to content

Commit

Permalink
intl -> optimize some more return types
Browse files Browse the repository at this point in the history
-> found via ```phpdoctor.phar analyse intl``` (https://github.com/voku/PHPDoctor)
  • Loading branch information
voku authored and isfedorov committed Nov 13, 2020
1 parent d015326 commit 3c246d8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions intl/intl.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public function compare($str1, $str2) { }
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
* Sort array using specified collator
* @link https://php.net/manual/en/collator.sort.php
* @param array &$array <p>
* @param string[] &$array <p>
* Array of strings to sort.
* </p>
* @param int $sort_flag [optional] <p>
Expand All @@ -316,7 +316,7 @@ public function sort(array &$array, $sort_flag = null) { }
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
* Sort array using specified collator and sort keys
* @link https://php.net/manual/en/collator.sortwithsortkeys.php
* @param array &$array <p>Array of strings to sort</p>
* @param string[] &$array <p>Array of strings to sort</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
public function sortWithSortKeys(array &$array) { }
Expand All @@ -325,7 +325,7 @@ public function sortWithSortKeys(array &$array) { }
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
* Sort array maintaining index association
* @link https://php.net/manual/en/collator.asort.php
* @param array &$array <p>Array of strings to sort.</p>
* @param string[] &$array <p>Array of strings to sort.</p>
* @param int $sort_flag [optional] <p>
* Optional sorting type, one of the following:
* <p>
Expand Down Expand Up @@ -3451,7 +3451,7 @@ function collator_set_strength(Collator $object, $strength) { }
* Sort array using specified collator
* @link https://php.net/manual/en/collator.sort.php
* @param Collator $object
* @param array &$array <p>
* @param string[] &$array <p>
* Array of strings to sort.
* </p>
* @param int $sort_flag [optional] <p>
Expand All @@ -3471,7 +3471,7 @@ function collator_sort(Collator $object, array &$array, $sort_flag = null) { }
* Sort array using specified collator and sort keys
* @link https://php.net/manual/en/collator.sortwithsortkeys.php
* @param Collator $object
* @param array &$array <p>Array of strings to sort</p>
* @param string[] &$array <p>Array of strings to sort</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function collator_sort_with_sort_keys(Collator $object, array &$array) { }
Expand All @@ -3481,7 +3481,7 @@ function collator_sort_with_sort_keys(Collator $object, array &$array) { }
* Sort array maintaining index association
* @link https://php.net/manual/en/collator.asort.php
* @param Collator $object
* @param array &$array <p>Array of strings to sort.</p>
* @param string[] &$array <p>Array of strings to sort.</p>
* @param int $sort_flag [optional] <p>
* Optional sorting type, one of the following:
* <p>
Expand Down Expand Up @@ -3967,7 +3967,7 @@ function locale_get_display_variant($locale, $in_locale = null) { }
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
* Returns a correctly ordered and delimited locale ID
* @link https://php.net/manual/en/locale.composelocale.php
* @param array $subtags <p>
* @param string[] $subtags <p>
* an array containing a list of key-value pairs, where the keys identify
* the particular locale ID subtags, and the values are the associated
* subtag values.
Expand Down Expand Up @@ -3999,7 +3999,7 @@ function locale_compose(array $subtags) { }
* 'private' subtags can take maximum 15 values whereas 'extlang' can take
* maximum 3 values.
* </p>
* @return array an array containing a list of key-value pairs, where the keys
* @return string[]|null an array containing a list of key-value pairs, where the keys
* identify the particular locale ID subtags, and the values are the
* associated subtag values. The array will be ordered as the locale id
* subtags e.g. in the locale id if variants are '-varX-varY-varZ' then the
Expand Down Expand Up @@ -4054,7 +4054,7 @@ function locale_canonicalize($locale) { }
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
* Searches the language tag list for the best match to the language
* @link https://php.net/manual/en/locale.lookup.php
* @param array $langtag <p>
* @param string[] $langtag <p>
* An array containing a list of language tags to compare to
* <i>locale</i>. Maximum 100 items allowed.
* </p>
Expand Down

0 comments on commit 3c246d8

Please sign in to comment.