Skip to content

Commit 77e7095

Browse files
committed
Add missing dots at the end of exception messages
1 parent 86ecb39 commit 77e7095

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Adapter/ExtLdap/Query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function execute()
123123
$this->resetPagination();
124124
}
125125

126-
throw new LdapException(sprintf('Could not complete search with dn "%s", query "%s" and filters "%s".%s', $this->dn, $this->query, implode(',', $this->options['filter']), $ldapError));
126+
throw new LdapException(sprintf('Could not complete search with dn "%s", query "%s" and filters "%s".%s.', $this->dn, $this->query, implode(',', $this->options['filter']), $ldapError));
127127
}
128128

129129
$this->results[] = $search;

Security/LdapUserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function loadUserByUsername($username)
8484
}
8585

8686
if ($count > 1) {
87-
throw new UsernameNotFoundException('More than one user found');
87+
throw new UsernameNotFoundException('More than one user found.');
8888
}
8989

9090
$entry = $entries[0];

0 commit comments

Comments
 (0)