Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 10c5fd1

Browse files
committed
CS fixes in Zend_Log_Writer_Abstract
1 parent 9913ade commit 10c5fd1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

library/Zend/Log/Writer/Abstract.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ abstract class Zend_Log_Writer_Abstract implements Zend_Log_FactoryInterface
4848
/**
4949
* Add a filter specific to this writer.
5050
*
51-
* @param Zend_Log_Filter_Interface|int $filter Filter class or filter priority
51+
* @param Zend_Log_Filter_Interface|int $filter Filter class or filter
52+
* priority
5253
* @return Zend_Log_Writer_Abstract
5354
* @throws Zend_Log_Exception
5455
*/
@@ -76,8 +77,9 @@ public function addFilter($filter)
7677
*/
7778
public function write($event)
7879
{
80+
/** @var Zend_Log_Filter_Interface $filter */
7981
foreach ($this->_filters as $filter) {
80-
if (! $filter->accept($event)) {
82+
if (!$filter->accept($event)) {
8183
return;
8284
}
8385
}
@@ -109,7 +111,7 @@ public function shutdown()
109111
/**
110112
* Write a message to the log.
111113
*
112-
* @param array $event log data event
114+
* @param array $event log data event
113115
* @return void
114116
*/
115117
abstract protected function _write($event);

0 commit comments

Comments
 (0)