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

Commit b48a262

Browse files
committed
Fixes DocBlocks in Zend_Log
1 parent f842f89 commit b48a262

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

library/Zend/Log.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ class Zend_Log
115115
* Class constructor. Create a new logger
116116
*
117117
* @param Zend_Log_Writer_Abstract|null $writer default writer
118-
* @return void
119118
*/
120119
public function __construct(Zend_Log_Writer_Abstract $writer = null)
121120
{
@@ -184,7 +183,7 @@ static public function factory($config = array())
184183
/**
185184
* Construct a writer object based on a configuration array
186185
*
187-
* @param array $spec config array with writer spec
186+
* @param array $config config array with writer spec
188187
* @return Zend_Log_Writer_Abstract
189188
* @throws Zend_Log_Exception
190189
*/
@@ -466,8 +465,9 @@ public function log($message, $priority, $extras = null)
466465
/**
467466
* Add a custom priority
468467
*
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
471471
* @throws Zend_Log_Exception
472472
*/
473473
public function addPriority($name, $priority)
@@ -492,7 +492,7 @@ public function addPriority($name, $priority)
492492
* must be accepted by all filters added with this method.
493493
*
494494
* @param int|Zend_Config|array|Zend_Log_Filter_Interface $filter
495-
* @return Zend_Log
495+
* @return $this
496496
* @throws Zend_Log_Exception
497497
*/
498498
public function addFilter($filter)
@@ -521,6 +521,7 @@ public function addFilter($filter)
521521
*
522522
* @param mixed $writer Zend_Log_Writer_Abstract or Config array
523523
* @return Zend_Log
524+
* @throws Zend_Log_Exception
524525
*/
525526
public function addWriter($writer)
526527
{

0 commit comments

Comments
 (0)