mirror of
https://github.com/code-rhapsodie/oauth2-apple.git
synced 2026-03-24 04:42:08 +01:00
Update code php8 (#5)
* update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * update code to php 8 remove lcobucci/jwt * fix private email
This commit is contained in:
@@ -12,7 +12,7 @@ class AppleAccessToken extends AccessToken
|
||||
|
||||
protected string $email;
|
||||
|
||||
protected bool $isPrivateEmail;
|
||||
protected ?bool $isPrivateEmail = null;
|
||||
|
||||
/**
|
||||
* @param Key[] $keys Valid Apple JWT keys
|
||||
@@ -85,7 +85,7 @@ class AppleAccessToken extends AccessToken
|
||||
return $this->email;
|
||||
}
|
||||
|
||||
public function isPrivateEmail(): bool
|
||||
public function isPrivateEmail(): ?bool
|
||||
{
|
||||
return $this->isPrivateEmail;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user