Skip to content

Commit 3419e99

Browse files
author
May Meow
committed
change setPassphrase to fluent
1 parent dd04ae0 commit 3419e99

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/RSAParameters.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,13 @@ public function getPassphrase(): string
8686

8787
/**
8888
* @param string $passphrase
89+
* @return RSACryptoServiceProvider
8990
*/
90-
public function setPassphrase(string $passphrase): void
91+
public function setPassphrase(string $passphrase): RSACryptoServiceProvider
9192
{
9293
$this->passphrase = $passphrase;
94+
95+
return $this;
9396
}
9497

9598
/**

0 commit comments

Comments
 (0)