mirror of
https://github.com/nextcloud/passman.git
synced 2024-11-10 17:27:40 +08:00
Fix travis errors in CredentialService
This commit is contained in:
parent
41360eed89
commit
ea8ee93efd
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class CredentialService {
|
|||
|
||||
public function getCredentialById($credential_id, $user_id){
|
||||
$credential = $this->credentialMapper->getCredentialById($credential_id);
|
||||
if ($credential->getUserId() == $user_id){
|
||||
if ($credential->getUserId() === $user_id){
|
||||
return $credential;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue