⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Update File.php (MVC, OOP)#145

Open
BuslikDrev wants to merge 1 commit intodompdf:masterfrom
BuslikDrev:patch-1
Open

Update File.php (MVC, OOP)#145
BuslikDrev wants to merge 1 commit intodompdf:masterfrom
BuslikDrev:patch-1

Conversation

@BuslikDrev
Copy link
Contributor

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

replace
$this->directory[$entry->tag] = $entry;
to
$this->addDirectoryEntry($entry);
@bsweeney
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants