Change createTree function
Merge branch 'master' of https://github.com/abgaryanharutyun/Nested-set-model-Yii-framework