Merge remote-tracking branch 'origin/master'

This commit is contained in:
iIronside committed 2023-10-12 11:34:58 +03:00
commit add34538f1
4 files changed
+170 -24

No files matched your search

+8
View File
@@ -68,6 +68,14 @@ class ProfileService
return $searchModel->byParams();
}
public static function getProfileById($id): ?array
{
$searchModel = new ProfileSearchForm();
$searchModel->id = $id;
return $searchModel->byId();
}
/**
* @throws ServerErrorHttpException
*/