diff -r 5e7a0fedabdf -r 877f952ae2bd web/lib/Zend/Log/Writer/Abstract.php --- a/web/lib/Zend/Log/Writer/Abstract.php Thu Mar 21 17:31:31 2013 +0100 +++ b/web/lib/Zend/Log/Writer/Abstract.php Thu Mar 21 19:50:53 2013 +0100 @@ -15,9 +15,9 @@ * @category Zend * @package Zend_Log * @subpackage Writer - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: Abstract.php 22567 2010-07-16 03:32:31Z ramon $ + * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $ */ /** Zend_Log_Filter_Priority */ @@ -27,9 +27,9 @@ * @category Zend * @package Zend_Log * @subpackage Writer - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: Abstract.php 22567 2010-07-16 03:32:31Z ramon $ + * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $ */ abstract class Zend_Log_Writer_Abstract implements Zend_Log_FactoryInterface { @@ -40,6 +40,7 @@ /** * Formats the log message before writing. + * * @var Zend_Log_Formatter_Interface */ protected $_formatter; @@ -48,11 +49,11 @@ * Add a filter specific to this writer. * * @param Zend_Log_Filter_Interface $filter - * @return void + * @return Zend_Log_Writer_Abstract */ public function addFilter($filter) { - if (is_integer($filter)) { + if (is_int($filter)) { $filter = new Zend_Log_Filter_Priority($filter); } @@ -69,7 +70,7 @@ /** * Log a message to this writer. * - * @param array $event log data event + * @param array $event log data event * @return void */ public function write($event) @@ -88,7 +89,7 @@ * Set a new formatter for this writer * * @param Zend_Log_Formatter_Interface $formatter - * @return void + * @return Zend_Log_Writer_Abstract */ public function setFormatter(Zend_Log_Formatter_Interface $formatter) { @@ -128,8 +129,8 @@ if (!is_array($config)) { require_once 'Zend/Log/Exception.php'; throw new Zend_Log_Exception( - 'Configuration must be an array or instance of Zend_Config' - ); + 'Configuration must be an array or instance of Zend_Config' + ); } return $config;