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

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.

if (isset($manifest['namespace']))
{
$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.

1 participant