php-font-lib icon indicating copy to clipboard operation
php-font-lib copied to clipboard

Update File.php (MVC, OOP)

Open BuslikDrev opened this issue 1 year ago • 1 comments

replace $this->directory[$entry->tag] = $entry; to $this->addDirectoryEntry($entry);

BuslikDrev avatar Dec 17 '24 09:12 BuslikDrev

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.

bsweeney avatar Dec 19 '24 13:12 bsweeney