Skip to content

Commit 677ebeb

Browse files
committed
Fix styling
1 parent 797778a commit 677ebeb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ApiResourceDataTable.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ public static function create($source)
5151
*/
5252
public function __construct(AnonymousResourceCollection $collection)
5353
{
54-
$this->request = app('datatables.request');
55-
$this->config = app('datatables.config');
54+
$this->request = app('datatables.request');
55+
$this->config = app('datatables.config');
5656
$this->collection = collect($collection->toArray($this->request));
57-
$this->original = $collection;
58-
$this->columns = array_keys($this->serialize(collect($collection->toArray($this->request))->first()));
57+
$this->original = $collection;
58+
$this->columns = array_keys($this->serialize(collect($collection->toArray($this->request))->first()));
5959
if ($collection->resource instanceof LengthAwarePaginator) {
6060
$this->isFilterApplied = true;
6161
}

0 commit comments

Comments
 (0)