Pierre Grimaud 5 vuotta sitten
vanhempi
commit
ff3128b487

+ 1 - 1
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

+ 1 - 1
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);

+ 1 - 1
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');