Skip to content
Permalink
Browse files

Update TreeBehavior.php

Changed incorrect beforeSave to correct afterSave in comments at line 161.
  • Loading branch information...
KoenBrouwer committed Jan 6, 2017
1 parent 9520f59 commit 1fd613170099f9cc746093ca786e3affbb0dd517
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ORM/Behavior/TreeBehavior.php
@@ -158,7 +158,7 @@ public function beforeSave(Event $event, EntityInterface $entity)
*
* Manages updating level of descendents of currently saved entity.
*
* @param \Cake\Event\Event $event The beforeSave event that was fired
* @param \Cake\Event\Event $event The afterSave event that was fired
* @param \Cake\Datasource\EntityInterface $entity the entity that is going to be saved
* @return void
*/

0 comments on commit 1fd6131

Please sign in to comment.
You can’t perform that action at this time.