1<?php
2
3/** @generate-class-entries */
4
5class Spoofchecker
6{
7    public function __construct() {}
8
9    /**
10     * @param int $errorCode
11     * @tentative-return-type
12     */
13    public function isSuspicious(string $string, &$errorCode = null): bool {}
14
15    /**
16     * @param int $errorCode
17     * @tentative-return-type
18     */
19    public function areConfusable(string $string1, string $string2, &$errorCode = null): bool {}
20
21    /** @tentative-return-type */
22    public function setAllowedLocales(string $locales): void {}
23
24    /** @tentative-return-type */
25    public function setChecks(int $checks): void {}
26
27#if U_ICU_VERSION_MAJOR_NUM >= 58
28    /** @tentative-return-type */
29    public function setRestrictionLevel(int $level): void {}
30#endif
31}
32