Эх сурвалжийг харах

Merge pull request #873 from robin12315/robin12315

correct incorrect spelling
walkor 2 жил өмнө
parent
commit
9add88a244

+ 2 - 2
src/Protocols/ProtocolInterface.php

@@ -24,7 +24,7 @@ interface ProtocolInterface
     /**
      * Check the integrity of the package.
      * Please return the length of package.
-     * If length is unknow please return 0 that mean wating more data.
+     * If length is unknown please return 0 that means waiting for more data.
      * If the package has something wrong please return false the connection will be closed.
      *
      * @param string $recvBuffer
@@ -43,7 +43,7 @@ interface ProtocolInterface
     public static function decode($recvBuffer, ConnectionInterface $connection);
 
     /**
-     * Encode package brefore sending to client.
+     * Encode package before sending to client.
      *
      * @param mixed $data
      * @param ConnectionInterface $connection