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

getSize of the tree and parts of it #17

Merged
merged 1 commit into from
Jul 15, 2015
Merged

getSize of the tree and parts of it #17

merged 1 commit into from
Jul 15, 2015

Conversation

Djuki
Copy link
Contributor

@Djuki Djuki commented Jul 15, 2015

getSize method return number of a nodes in a tree. Unit test method included in PR.

*/
public function getSize()
{
if ($this->isLeaf()) {
Copy link
Owner

Choose a reason for hiding this comment

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

This if is not necessary, I think it can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed. Rebased and pushed back.

nicmart added a commit that referenced this pull request Jul 15, 2015
getSize of the tree and parts of it
@nicmart nicmart merged commit 556601f into nicmart:master Jul 15, 2015
@nicmart
Copy link
Owner

nicmart commented Jul 15, 2015

Thanks!

@nicmart
Copy link
Owner

nicmart commented Jul 15, 2015

Released as v0.2.6.

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.

None yet

2 participants