Skip to content

Commit

Permalink
Change visibility Nestable::prepareItems() to protected
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Tkachuk authored Oct 3, 2016
1 parent 803ce20 commit a4871df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nestable/Nestable.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function renderContent($partial, $arguments) {
* @param $activeQuery \yii\db\ActiveQuery
* @return array
*/
private function prepareItems($activeQuery)
protected function prepareItems($activeQuery)
{
$items = [];
foreach ($activeQuery->all() as $model) {
Expand Down

0 comments on commit a4871df

Please sign in to comment.