Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from Jigsik/master
Browse files Browse the repository at this point in the history
Do not force string as return type of getUserIdentifier method
  • Loading branch information
lookyman authored Nov 28, 2019
2 parents bfe6d91 + 1bcc76b commit 9ae8859
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/AccessToken/AccessTokenEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ public function getExpiryDateTime(): \DateTime
return $this->expiryDateTime;
}

public function getUserIdentifier(): ?string
/**
* @return int|string|null
*/
public function getUserIdentifier()
{
return $this->userIdentifier;
}
Expand Down
5 changes: 4 additions & 1 deletion src/AuthCode/AuthCodeEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ public function setUserIdentifier($identifier): void
$this->userIdentifier = $identifier;
}

public function getUserIdentifier(): string
/**
* @return int|string|null
*/
public function getUserIdentifier()
{
return $this->userIdentifier;
}
Expand Down

0 comments on commit 9ae8859

Please sign in to comment.