cs fix
This commit is contained in:
parent
b5a47df0b9
commit
0a1de38a5b
@ -576,7 +576,7 @@ class SecurityExtension extends Extension implements PrependExtensionInterface
|
|||||||
'arguments' => [
|
'arguments' => [
|
||||||
$config['time_cost'],
|
$config['time_cost'],
|
||||||
(($config['memory_cost'] ?? 0) << 10) ?: null,
|
(($config['memory_cost'] ?? 0) << 10) ?: null,
|
||||||
$config['cost']
|
$config['cost'],
|
||||||
] + (isset($config['native_algorithm']) ? [3 => $config['native_algorithm']] : []),
|
] + (isset($config['native_algorithm']) ? [3 => $config['native_algorithm']] : []),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,7 @@ class EncoderFactory implements EncoderFactoryInterface
|
|||||||
'arguments' => [
|
'arguments' => [
|
||||||
$config['time_cost'] ?? null,
|
$config['time_cost'] ?? null,
|
||||||
(($config['memory_cost'] ?? 0) << 10) ?: null,
|
(($config['memory_cost'] ?? 0) << 10) ?: null,
|
||||||
$config['cost'] ?? null
|
$config['cost'] ?? null,
|
||||||
] + (isset($config['native_algorithm']) ? [3 => $config['native_algorithm']] : []),
|
] + (isset($config['native_algorithm']) ? [3 => $config['native_algorithm']] : []),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user