Skip to content

A free open source IT asset/license management system

phpstan fix

snipe030216761ad2
diff --git a/app/Livewire/LdapSettings.php b/app/Livewire/LdapSettings.php
index 9536a4694e..8baaaa4e27 100644
--- a/app/Livewire/LdapSettings.php
+++ b/app/Livewire/LdapSettings.php
@@ -328,7 +328,7 @@ class LdapSettings extends Component
#[Computed]
public function hasPersistedLdapPword(): bool
{
- return ! empty(Setting::getSettings()?->ldap_pword);
+ return ! empty(Setting::getSettings()->ldap_pword);
}
public function goToStep(int $step): void