Various code reshuffelling.

This commit is contained in:
James Cole
2021-03-12 06:20:01 +01:00
parent 97561ab9c9
commit 748d61fb8f
51 changed files with 1874 additions and 1873 deletions

View File

@@ -50,14 +50,6 @@ class TelemetryRepository implements TelemetryRepositoryInterface
Telemetry::whereNotNull('created_at')->delete();
}
/**
* @inheritDoc
*/
public function paginated(int $pageSize): LengthAwarePaginator
{
return Telemetry::orderBy('created_at', 'DESC')->paginate($pageSize);
}
/**
* @inheritDoc
*/
@@ -66,4 +58,12 @@ class TelemetryRepository implements TelemetryRepositoryInterface
// created_at is never NULL.
Telemetry::whereNotNull('submitted')->delete();
}
/**
* @inheritDoc
*/
public function paginated(int $pageSize): LengthAwarePaginator
{
return Telemetry::orderBy('created_at', 'DESC')->paginate($pageSize);
}
}