Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commita053f87

Browse files
committed
Return value directly, without assigning variable
1 parente817476 commita053f87

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎src/Encrypt/Openssl.php‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ protected function _setKeys($keys)
162162
*/
163163
publicfunctiongetPublicKey()
164164
{
165-
$key =$this->keys['public'];
166-
return$key;
165+
return$this->keys['public'];
167166
}
168167

169168
/**
@@ -195,8 +194,7 @@ public function setPublicKey($key)
195194
*/
196195
publicfunctiongetPrivateKey()
197196
{
198-
$key =$this->keys['private'];
199-
return$key;
197+
return$this->keys['private'];
200198
}
201199

202200
/**
@@ -233,8 +231,7 @@ public function setPrivateKey($key, $passphrase = null)
233231
*/
234232
publicfunctiongetEnvelopeKey()
235233
{
236-
$key =$this->keys['envelope'];
237-
return$key;
234+
return$this->keys['envelope'];
238235
}
239236

240237
/**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp