1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-07 13:46:38 +02:00

Merge pull request #1457 from pgrimaud/master

Fix typos
This commit is contained in:
Jordi Boggiano
2020-05-11 15:37:26 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ final class Utils
* *
* If the failure is due to invalid string encoding, try to clean the * If the failure is due to invalid string encoding, try to clean the
* input and encode again. If the second encoding attempt fails, the * input and encode again. If the second encoding attempt fails, the
* inital error is not encoding related or the input can't be cleaned then * initial error is not encoding related or the input can't be cleaned then
* raise a descriptive exception. * raise a descriptive exception.
* *
* @param int $code return code of json_last_error function * @param int $code return code of json_last_error function

View File

@@ -41,7 +41,7 @@ class ErrorLogHandlerTest extends TestCase
/** /**
* @covers Monolog\Handler\ErrorLogHandler::write * @covers Monolog\Handler\ErrorLogHandler::write
*/ */
public function testShouldLogMessagesUsingErrorLogFuncion() public function testShouldLogMessagesUsingErrorLogFunction()
{ {
$type = ErrorLogHandler::OPERATING_SYSTEM; $type = ErrorLogHandler::OPERATING_SYSTEM;
$handler = new ErrorLogHandler($type); $handler = new ErrorLogHandler($type);

View File

@@ -116,7 +116,7 @@ class RegistryTest extends \PHPUnit\Framework\TestCase
/** /**
* @covers Monolog\Registry::getInstance * @covers Monolog\Registry::getInstance
*/ */
public function testFailsOnNonExistantLogger() public function testFailsOnNonExistentLogger()
{ {
$this->expectException(\InvalidArgumentException::class); $this->expectException(\InvalidArgumentException::class);
Registry::getInstance('test1'); Registry::getInstance('test1');