Skip to content

Commit

Permalink
Merge pull request #183 from creative-commoners/pulls/5.2/remove-self
Browse files Browse the repository at this point in the history
ENH Use class name instead of self
  • Loading branch information
GuySartorelli authored Jun 17, 2024
2 parents 071d6c1 + 14806b2 commit 6579232
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/CredentialRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function toArray(): array
* @param string $memberID
* @return CredentialRepository
*/
public static function fromArray(array $credentials, string $memberID): self
public static function fromArray(array $credentials, string $memberID): CredentialRepository
{
$new = new static($memberID);
$new->setCredentials($credentials);
Expand Down
4 changes: 2 additions & 2 deletions src/RegisterHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ class RegisterHandler implements RegisterHandlerInterface
* Sets the {@see $logger} member variable
*
* @param LoggerInterface|null $logger
* @return self
* @return RegisterHandler
*/
public function setLogger(?LoggerInterface $logger): self
public function setLogger(?LoggerInterface $logger): RegisterHandler
{
$this->logger = $logger;
return $this;
Expand Down
4 changes: 2 additions & 2 deletions src/VerifyHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ class VerifyHandler implements VerifyHandlerInterface
* Sets the {@see $logger} member variable
*
* @param LoggerInterface|null $logger
* @return self
* @return VerifyHandler
*/
public function setLogger(?LoggerInterface $logger): self
public function setLogger(?LoggerInterface $logger): VerifyHandler
{
$this->logger = $logger;
return $this;
Expand Down

0 comments on commit 6579232

Please sign in to comment.