diff --git a/src/Network/Session.php b/src/Network/Session.php index b2baaf2236f..82873f8ebba 100644 --- a/src/Network/Session.php +++ b/src/Network/Session.php @@ -282,10 +282,9 @@ public function options(array $options) { foreach ($options as $setting => $value) { if (ini_set($setting, $value) === false) { - throw new \RuntimeException(sprintf( - sprintf('Unable to configure the session, setting %s failed.'), - $setting - )); + throw new \RuntimeException( + sprintf('Unable to configure the session, setting %s failed.', $setting) + ); } } }