Skip to content

Commit 30f8c22

Browse files
committed
Update method accessor.
1 parent 1d95b5f commit 30f8c22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Services/DataTable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ private function exportColumns()
185185
*
186186
* @return array
187187
*/
188-
private function getColumnsFromBuilder()
188+
protected function getColumnsFromBuilder()
189189
{
190190
return $this->html()->getColumns()->all();
191191
}
@@ -334,7 +334,7 @@ public function addScope(DataTableScopeContract $scope)
334334
* @param \Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder $query
335335
* @return mixed
336336
*/
337-
public function applyScopes($query)
337+
protected function applyScopes($query)
338338
{
339339
foreach ($this->scopes as $scope) {
340340
$scope->apply($query);

0 commit comments

Comments
 (0)