diff --git a/src/Monolog/Utils.php b/src/Monolog/Utils.php index 358087cb..e2058d59 100644 --- a/src/Monolog/Utils.php +++ b/src/Monolog/Utils.php @@ -71,7 +71,7 @@ final class Utils * * If the failure is due to invalid string encoding, try to clean 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. * * @param int $code return code of json_last_error function diff --git a/tests/Monolog/Handler/ErrorLogHandlerTest.php b/tests/Monolog/Handler/ErrorLogHandlerTest.php index d48a058b..10e8ec20 100644 --- a/tests/Monolog/Handler/ErrorLogHandlerTest.php +++ b/tests/Monolog/Handler/ErrorLogHandlerTest.php @@ -41,7 +41,7 @@ class ErrorLogHandlerTest extends TestCase /** * @covers Monolog\Handler\ErrorLogHandler::write */ - public function testShouldLogMessagesUsingErrorLogFuncion() + public function testShouldLogMessagesUsingErrorLogFunction() { $type = ErrorLogHandler::OPERATING_SYSTEM; $handler = new ErrorLogHandler($type); diff --git a/tests/Monolog/RegistryTest.php b/tests/Monolog/RegistryTest.php index 0ada5ee6..3ebfe841 100644 --- a/tests/Monolog/RegistryTest.php +++ b/tests/Monolog/RegistryTest.php @@ -116,7 +116,7 @@ class RegistryTest extends \PHPUnit\Framework\TestCase /** * @covers Monolog\Registry::getInstance */ - public function testFailsOnNonExistantLogger() + public function testFailsOnNonExistentLogger() { $this->expectException(\InvalidArgumentException::class); Registry::getInstance('test1');