Skip to content
Permalink
Browse files

Double-whammy sprintf use - one with only one parameter

  • Loading branch information...
JD-Robbs committed Sep 6, 2014
1 parent 994ceed commit 2d824ff6d47f511987631710786b231de4028907
Showing with 3 additions and 4 deletions.
  1. +3 −4 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)
);
}
}
}

0 comments on commit 2d824ff

Please sign in to comment.
You can’t perform that action at this time.