Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Patch bootstrapper #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

oligriffiths
Copy link
Contributor

What

Fix some undefined variable erros & cache extended components to a local variable for performance

Why

2 variables are undefined if you don't bootstrap any components.
Also, iterating over the whole list of manifests twice is unnecessary, cache each component that is extending another and only iterate those extended components.

{
$identifier = $manifest['identifier'];
$namespace = $manifest['namespace'];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This $namespace variable isn't used, is that intentional?

@johanjanssens johanjanssens self-requested a review January 5, 2017 02:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant