Fix travis errors in CredentialService

This commit is contained in:
brantje 2016-10-08 00:04:36 +02:00
parent 41360eed89
commit ea8ee93efd
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -66,7 +66,7 @@ class CredentialService {
public function getCredentialById($credential_id, $user_id){ public function getCredentialById($credential_id, $user_id){
$credential = $this->credentialMapper->getCredentialById($credential_id); $credential = $this->credentialMapper->getCredentialById($credential_id);
if ($credential->getUserId() == $user_id){ if ($credential->getUserId() === $user_id){
return $credential; return $credential;
} }
else { else {