From bba0bf4e56b84e6ffa49601b069bbf5aba403f5f Mon Sep 17 00:00:00 2001 From: Simon Leary Date: Fri, 19 Dec 2025 12:23:03 -0500 Subject: [PATCH 1/2] level 3 --- phpstan.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index 15561c68..ebd14f17 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,5 @@ parameters: - level: 2 + level: 3 paths: - resources - test From 05841a8c96648d445cb17576f1433b064492b5f6 Mon Sep 17 00:00:00 2001 From: Simon Leary Date: Fri, 19 Dec 2025 12:23:23 -0500 Subject: [PATCH 2/2] fix getHomeDir --- resources/lib/UnityUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/UnityUser.php b/resources/lib/UnityUser.php index 9e1b4b48..65d86a68 100644 --- a/resources/lib/UnityUser.php +++ b/resources/lib/UnityUser.php @@ -332,7 +332,7 @@ public function setHomeDir(string $home, ?UnityUser $operator = null): void public function getHomeDir(): string { $this->entry->ensureExists(); - return $this->entry->getAttribute("homedirectory"); + return $this->entry->getAttribute("homedirectory")[0]; } /**