We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 991d6a9 commit ff30916Copy full SHA for ff30916
src/FontLib/TrueType/File.php
@@ -100,7 +100,7 @@ class File extends BinaryStream {
100
"Ccaron", "ccaron", "dmacron"
101
);
102
103
- private function uniord (string $c, string $encoding = null) {
+ private function uniord (string $c, ?string $encoding = null) {
104
if (function_exists("mb_ord")) {
105
if (PHP_VERSION_ID < 80000 && $encoding === null) {
106
// in PHP < 8 the encoding argument, if supplied, must be a valid encoding
0 commit comments