Skip to content

Commit 77fcc86

Browse files
authored
level 3 (#423)
1 parent 906e3ef commit 77fcc86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: 2
2+
level: 3
33
paths:
44
- resources
55
- test

resources/lib/UnityUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public function setHomeDir(string $home, ?UnityUser $operator = null): void
332332
public function getHomeDir(): string
333333
{
334334
$this->entry->ensureExists();
335-
return $this->entry->getAttribute("homedirectory");
335+
return $this->entry->getAttribute("homedirectory")[0];
336336
}
337337

338338
/**

0 commit comments

Comments
 (0)