Skip to content

Commit 04b2cf6

Browse files
Prevents PHP from throwing a warning while autoloaders try to include non existing class files.
1 parent 19ad2be commit 04b2cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FontLib/TrueType/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ protected function readTable($tag) {
305305

306306
$class = "FontLib\\Table\\Type\\$name_canon";
307307

308-
if (!isset($this->directory[$tag]) || !class_exists($class)) {
308+
if (!isset($this->directory[$tag]) || !@class_exists($class)) {
309309
return;
310310
}
311311
}

0 commit comments

Comments
 (0)