php-src/ext/intl/normalizer/normalizer.stub.php
Nikita Popov 5dc995df37 Eliminate null return value for Normalizer::normalize()
One error condition was returning null instead of false. Adjust
the implementation to look the same way as the exact same check
a few lines below.
2021-07-14 11:43:22 +02:00

26 lines
668 B
PHP

<?php
/** @generate-class-entries */
class Normalizer
{
/**
* @tentative-return-type
* @alias normalizer_normalize
*/
public static function normalize(string $string, int $form = Normalizer::FORM_C): string|false {}
/**
* @tentative-return-type
* @alias normalizer_is_normalized
*/
public static function isNormalized(string $string, int $form = Normalizer::FORM_C): bool {}
#if U_ICU_VERSION_MAJOR_NUM >= 56
/**
* @tentative-return-type
* @alias normalizer_get_raw_decomposition
*/
public static function getRawDecomposition(string $string, int $form = Normalizer::FORM_C): ?string {}
#endif
}