php-font-lib
php-font-lib copied to clipboard
Update File.php (MVC, OOP)
replace $this->directory[$entry->tag] = $entry; to $this->addDirectoryEntry($entry);
This seems ... ok? Though unnecessary. The addDirectoryEntry function itself is used nowhere else so we could just as easily remove the function and leave the entry addition logic as-is.