Optimized imports

This commit is contained in:
Bernd Bestel
2023-05-13 14:43:51 +02:00
parent 491412807c
commit dd5bd3852a
38 changed files with 241 additions and 282 deletions

View File

@@ -2,9 +2,11 @@
namespace Grocy\Services;
use LessQL\Result
class TasksService extends BaseService
{
public function GetCurrent(): \LessQL\Result
public function GetCurrent(): Result
{
$users = $this->getUsersService()->GetUsersAsDto();
$categories = $this->getDatabase()->task_categories()->where('active = 1');