diff --git a/src/Filter/SuppressFilter.php b/src/Filter/SuppressFilter.php index 419154f5..8636e8db 100644 --- a/src/Filter/SuppressFilter.php +++ b/src/Filter/SuppressFilter.php @@ -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) )); } diff --git a/src/Logger.php b/src/Logger.php index 91488819..23cbe18a 100644 --- a/src/Logger.php +++ b/src/Logger.php @@ -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 diff --git a/src/Processor/RequestId.php b/src/Processor/RequestId.php index 5cfcb927..bd42f8ad 100644 --- a/src/Processor/RequestId.php +++ b/src/Processor/RequestId.php @@ -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 * diff --git a/src/Writer/AbstractWriter.php b/src/Writer/AbstractWriter.php index 49630ba2..04b6e38a 100644 --- a/src/Writer/AbstractWriter.php +++ b/src/Writer/AbstractWriter.php @@ -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 * diff --git a/test/Filter/SuppressFilterTest.php b/test/Filter/SuppressFilterTest.php index 527d56e6..5f83df24 100644 --- a/test/Filter/SuppressFilterTest.php +++ b/test/Filter/SuppressFilterTest.php @@ -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'); }