mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Optimized imports
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Grocy\Services;
|
||||
|
||||
use LessQL\Result;
|
||||
|
||||
class UsersService extends BaseService
|
||||
{
|
||||
public function CreateUser(string $username, ?string $firstName, ?string $lastName, string $password, string $pictureFileName = null)
|
||||
@@ -102,7 +104,7 @@ class UsersService extends BaseService
|
||||
return array_merge($GROCY_DEFAULT_USER_SETTINGS, $settings);
|
||||
}
|
||||
|
||||
public function GetUsersAsDto(): \LessQL\Result
|
||||
public function GetUsersAsDto(): Result
|
||||
{
|
||||
return $this->getDatabase()->users_dto();
|
||||
}
|
||||
|
Reference in New Issue
Block a user