Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different behaviour in $tree->knot->member and $tree->knot['member'] #5

Open
stivni opened this issue Apr 7, 2014 · 2 comments
Open

Comments

@stivni
Copy link
Collaborator

stivni commented Apr 7, 2014

If you have a tree like

$tree
    ->knot
        ->member = null;

When doing $var = $tree->knot->member, $var is null
But doing $var = $tree->knot['member'], $var is a Verraes\MagicTree\Knot containing zero _children.

@stivni
Copy link
Collaborator Author

stivni commented Apr 7, 2014

I will try to provide a test for this...

@stivni
Copy link
Collaborator Author

stivni commented Apr 25, 2014

Could be fixed in 0.3.2, should be verified

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

No branches or pull requests

1 participant