File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,7 @@ parameters:
99 - bin
1010
1111 ignoreErrors :
12- -
13- message : ' #Parameter \#2 \$form of static method Normalizer::normalize\(\) expects int, string given\.#'
14- path : src/CodePointString.php
15- count : 2
12+ - '#Parameter \#2 \$form of static method Normalizer:: (isNormalized|normalize )\ (\ ) expects int , string given\. #'
1613
1714 # This error can safely be ignored as we do these checks when building the data files.
1815 -
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public static function encode(int $codePoint): string
5353 *
5454 * @see https://encoding.spec.whatwg.org/#utf-8-decoder
5555 *
56- * @return array<int, int>
56+ * @return list< int>
5757 */
5858 public static function utf8Decode (string $ input ): array
5959 {
Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ public function __construct(DomainInfo $info)
3737 }
3838 }
3939
40+ /**
41+ * @param list<int> $codePoints
42+ */
4043 protected function isValidContextJ (string $ label , array $ codePoints ): bool
4144 {
4245 $ offset = 0 ;
You can’t perform that action at this time.
0 commit comments