Skip to content

Commit 949fb85

Browse files
committed
Adjust type hint for ascii map
Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent 2e15658 commit 949fb85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UtfString.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class UtfString implements ArrayAccess
7474
*
7575
* Source: https://www.freecodecamp.org/news/ascii-table-hex-to-ascii-value-character-code-chart-2/
7676
*
77-
* @var array<int,int>
77+
* @var array<int|string,int>
7878
*/
7979
protected static $asciiMap = [
8080
"\0" => 0, // (00000000) NUL Null

0 commit comments

Comments
 (0)