Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Add parens for ternary operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickaël Zhu authored and weierophinney committed Aug 21, 2013
1 parent e10bfb0 commit 17847a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listener/ServiceListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ protected function serviceConfigToArray($config)
if (!$config instanceof ServiceConfig) {
throw new Exception\RuntimeException(sprintf(
'Invalid service manager configuration class provided; received "%s", expected an instance of Zend\ServiceManager\Config',
is_object($config) ? get_class($config) : (is_scalar($config) ? $config : gettype($config))
(is_object($config) ? get_class($config) : (is_scalar($config) ? $config : gettype($config)))
));
}

Expand Down

0 comments on commit 17847a1

Please sign in to comment.