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

Commit

Permalink
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Filter/SuppressFilter.php
Expand Up @@ -35,7 +35,7 @@ public function __construct($suppress = false)
}
if (!is_bool($suppress)) {
throw new Exception\InvalidArgumentException(sprintf(
'Suppress must be an boolean; received "%s"', gettype($suppress)
'Suppress must be a boolean; received "%s"', gettype($suppress)
));
}

Expand Down
2 changes: 1 addition & 1 deletion src/Logger.php
Expand Up @@ -114,7 +114,7 @@ class Logger implements LoggerInterface
/**
* Constructor
*
* Set options for an logger. Accepted options are:
* Set options for a logger. Accepted options are:
* - writers: array of writers to add to this logger
* - exceptionhandler: if true register this logger as exceptionhandler
* - errorhandler: if true register this logger as errorhandler
Expand Down
2 changes: 1 addition & 1 deletion src/Processor/RequestId.php
Expand Up @@ -21,7 +21,7 @@ class RequestId implements ProcessorInterface
protected $identifier;

/**
* Adds a identifier for the request to the log.
* Adds an identifier for the request to the log.
*
* This enables to filter the log for messages belonging to a specific request
*
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/AbstractWriter.php
Expand Up @@ -62,7 +62,7 @@ abstract class AbstractWriter implements WriterInterface
/**
* Constructor
*
* Set options for an writer. Accepted options are:
* Set options for a writer. Accepted options are:
* - filters: array of filters to add to this filter
* - formatter: formatter for this writer
*
Expand Down
2 changes: 1 addition & 1 deletion test/Filter/SuppressFilterTest.php
Expand Up @@ -42,7 +42,7 @@ public function testSuppressByConstructorArray()

public function testConstructorThrowsOnInvalidSuppressValue()
{
$this->setExpectedException('Zend\Log\Exception\InvalidArgumentException', 'Suppress must be an boolean');
$this->setExpectedException('Zend\Log\Exception\InvalidArgumentException', 'Suppress must be a boolean');
new SuppressFilter('foo');
}

Expand Down

0 comments on commit 8e92f40

Please sign in to comment.