Skip to content

Commit

Permalink
Double-whammy sprintf use - one with only one parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
JD-Robbs committed Sep 6, 2014
1 parent 994ceed commit 2d824ff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Network/Session.php
Expand Up @@ -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)
);
}
}
}
Expand Down

0 comments on commit 2d824ff

Please sign in to comment.