Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Resolve undefined classes in phpDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/Filter/SuppressFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

namespace Zend\Log\Filter;

use Traversable;
use Zend\Log\Exception;

class SuppressFilter implements FilterInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Processor/ProcessorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface ProcessorInterface
* Processes a log message before it is given to the writers
*
* @param array $event
* @return WriterInterface
* @return array
*/
public function process(array $event);

Expand Down
2 changes: 1 addition & 1 deletion src/Writer/AbstractWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ abstract class AbstractWriter implements WriterInterface
/**
* Formats the log message before writing
*
* @var Formatter
* @var Formatter\FormatterInterface
*/
protected $formatter;

Expand Down
4 changes: 2 additions & 2 deletions src/Writer/FingersCrossed.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function setWriterPluginManager($plugins)
*
* @param string $name
* @param array|null $options
* @return Writer\WriterInterface
* @return WriterInterface
*/
public function writerPlugin($name, array $options = null)
{
Expand Down Expand Up @@ -243,7 +243,7 @@ public function reset()
* Stub in accordance to parent method signature.
* Fomatters must be set on the wrapped writer.
*
* @param string|Formatter\FormatterInterface $formatter
* @param string|FormatterInterface $formatter
* @return WriterInterface
*/
public function setFormatter($formatter)
Expand Down
4 changes: 2 additions & 2 deletions src/Writer/MongoDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function __construct($mongo, $database = null, $collection = null, array
/**
* This writer does not support formatting.
*
* @param string|Zend\Log\Formatter\FormatterInterface $formatter
* @param string|FormatterInterface $formatter
* @return WriterInterface
*/
public function setFormatter($formatter)
Expand All @@ -100,7 +100,7 @@ public function setFormatter($formatter)
*
* @param array $event Event data
* @return void
* @throws Zend\Log\Exception\RuntimeException
* @throws Exception\RuntimeException
*/
protected function doWrite(array $event)
{
Expand Down

0 comments on commit db74e8c

Please sign in to comment.