Skip to content

Commit

Permalink
Revert "Change pluckby to pluckBy"
Browse files Browse the repository at this point in the history
This reverts commit 2b23fc9.
  • Loading branch information
haringsrob committed Jan 4, 2023
1 parent 52fa2d7 commit aea751f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Repositories/ModuleRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ public function getById($id, $with = [], $withCount = [])
* @param string $column
* @param array $orders
* @param null $exceptId
* @param string $pluckBy
* @param string $pluckby
* @return \Illuminate\Support\Collection
*/
public function listAll($column = 'title', $orders = [], $exceptId = null, $pluckBy = 'id')
public function listAll($column = 'title', $orders = [], $exceptId = null, $pluckby = 'id')
{
$query = $this->model->newQuery();

Expand All @@ -184,7 +184,7 @@ public function listAll($column = 'title', $orders = [], $exceptId = null, $pluc
$query = $query->withTranslation();
}

return $query->get()->pluck($column, $pluckBy);
return $query->get()->pluck($column, $pluckby);
}

/**
Expand Down

0 comments on commit aea751f

Please sign in to comment.