mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 18:14:42 +00:00
src: style sweep
This commit is contained in:
parent
9d3364e718
commit
c10cb5b0eb
@ -84,10 +84,10 @@ class IPsec extends BaseModel
|
||||
$Keys = ['public' => null, 'private' => null];
|
||||
foreach (['public', 'private'] as $type) {
|
||||
// Validate $type key
|
||||
if (!empty((string)$keyPair->{$type.'Key'})) {
|
||||
if (!empty((string)$keyPair->{$type . 'Key'})) {
|
||||
try {
|
||||
$Keys[$type] = $this->parseCryptographicKey(
|
||||
(string)$keyPair->{$type.'Key'},
|
||||
(string)$keyPair->{$type . 'Key'},
|
||||
(string)$keyPair->keyType . "-{$type}"
|
||||
);
|
||||
} catch (\Exception $e) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user