Unverified Commit 5d23ad54 authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #244 from viralsolani/analysis-8KkA3V

Apply fixes from StyleCI
parents 9a527ae4 e48a2439
......@@ -36,7 +36,7 @@ class PermissionController extends APIController
$sortBy = $request->get('sortBy') ? $request->get('sortBy') : 'created_at';
return PermissionResource::collection(
$this->repository->getForDataTable()->orderBy($sortBy,$orderBy)->paginate($limit)
$this->repository->getForDataTable()->orderBy($sortBy, $orderBy)->paginate($limit)
);
}
......
......@@ -36,7 +36,7 @@ class RolesController extends APIController
$sortBy = $request->get('sortBy') ? $request->get('sortBy') : 'created_at';
return RoleResource::collection(
$this->repository->getForDataTable()->orderBy($sortBy,$orderBy)->paginate($limit)
$this->repository->getForDataTable()->orderBy($sortBy, $orderBy)->paginate($limit)
);
}
......
......@@ -36,7 +36,7 @@ class UsersController extends APIController
$sortBy = $request->get('sortBy') ? $request->get('sortBy') : 'created_at';
return UserResource::collection(
$this->repository->getForDataTable(1, false)->orderBy($sortBy,$orderBy)->paginate($limit)
$this->repository->getForDataTable(1, false)->orderBy($sortBy, $orderBy)->paginate($limit)
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment