mirror of
https://github.com/predis/predis.git
synced 2026-10-10 22:07:31 +00:00
More code styling changes.
This commit is contained in:
@@ -28,6 +28,7 @@ class ClientProfile extends AbstractOption
|
||||
{
|
||||
if (is_string($value)) {
|
||||
$value = ServerProfile::get($value);
|
||||
|
||||
if (isset($options->prefix)) {
|
||||
$value->setProcessor($options->prefix);
|
||||
}
|
||||
@@ -50,6 +51,7 @@ class ClientProfile extends AbstractOption
|
||||
public function getDefault(ClientOptionsInterface $options)
|
||||
{
|
||||
$profile = ServerProfile::getDefault();
|
||||
|
||||
if (isset($options->prefix)) {
|
||||
$profile->setProcessor($options->prefix);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user