@@ -115,7 +115,6 @@ class Zend_Log
115
115
* Class constructor. Create a new logger
116
116
*
117
117
* @param Zend_Log_Writer_Abstract|null $writer default writer
118
- * @return void
119
118
*/
120
119
public function __construct (Zend_Log_Writer_Abstract $ writer = null )
121
120
{
@@ -184,7 +183,7 @@ static public function factory($config = array())
184
183
/**
185
184
* Construct a writer object based on a configuration array
186
185
*
187
- * @param array $spec config array with writer spec
186
+ * @param array $config config array with writer spec
188
187
* @return Zend_Log_Writer_Abstract
189
188
* @throws Zend_Log_Exception
190
189
*/
@@ -466,8 +465,9 @@ public function log($message, $priority, $extras = null)
466
465
/**
467
466
* Add a custom priority
468
467
*
469
- * @param string $name Name of priority
470
- * @param integer $priority Numeric priority
468
+ * @param string $name Name of priority
469
+ * @param integer $priority Numeric priority
470
+ * @return $this
471
471
* @throws Zend_Log_Exception
472
472
*/
473
473
public function addPriority ($ name , $ priority )
@@ -492,7 +492,7 @@ public function addPriority($name, $priority)
492
492
* must be accepted by all filters added with this method.
493
493
*
494
494
* @param int|Zend_Config|array|Zend_Log_Filter_Interface $filter
495
- * @return Zend_Log
495
+ * @return $this
496
496
* @throws Zend_Log_Exception
497
497
*/
498
498
public function addFilter ($ filter )
@@ -521,6 +521,7 @@ public function addFilter($filter)
521
521
*
522
522
* @param mixed $writer Zend_Log_Writer_Abstract or Config array
523
523
* @return Zend_Log
524
+ * @throws Zend_Log_Exception
524
525
*/
525
526
public function addWriter ($ writer )
526
527
{
0 commit comments