Skip to content

Commit

Permalink
[zendframework#4455] CS fixes
Browse files Browse the repository at this point in the history
- trailing whitespace
  • Loading branch information
weierophinney committed Mar 5, 2014
1 parent 00e24db commit bcd3cb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/Zend/Log/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ public function __construct($options = null)
}

// Inject writer plugin manager, if available
if (isset($options['writer_plugin_manager'])
if (isset($options['writer_plugin_manager'])
&& $options['writer_plugin_manager'] instanceof AbstractPluginManager
) {
$this->setWriterPluginManager($options['writer_plugin_manager']);
}

// Inject processor plugin manager, if available
if (isset($options['processor_plugin_manager'])
if (isset($options['processor_plugin_manager'])
&& $options['processor_plugin_manager'] instanceof AbstractPluginManager
) {
$this->setProcessorPluginManager($options['processor_plugin_manager']);
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Log/LoggerAbstractServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function getConfig(ServiceLocatorInterface $services)

protected function processConfig(&$config, ServiceLocatorInterface $services)
{
if (isset($config['writer_plugin_manager'])
if (isset($config['writer_plugin_manager'])
&& is_string($config['writer_plugin_manager'])
&& $services->has($config['writer_plugin_manager'])
) {
Expand All @@ -105,7 +105,7 @@ protected function processConfig(&$config, ServiceLocatorInterface $services)
$config['writer_plugin_manager'] = $services->get('LogWriterManager');
}

if (isset($config['processor_plugin_manager'])
if (isset($config['processor_plugin_manager'])
&& is_string($config['processor_plugin_manager'])
&& $services->has($config['processor_plugin_manager'])
) {
Expand Down

0 comments on commit bcd3cb5

Please sign in to comment.