Skip to content

Commit

Permalink
Minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dirx committed Dec 6, 2020
1 parent de06157 commit e0c8dd1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/RdKafka/FFI/Library.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
use function unlink;

/**
* This class is for internal use. It provides access the low level interface to librdkafka.
* Best practise is to use high level interfaces like \RdKafka\Conf, RdKafka\Producer, ...
* This class is for internal use. It provides access to the low level interface to librdkafka.
* Best practice is to use high level interfaces like \RdKafka\Conf, \RdKafka\Producer, ...
*
* @see https://docs.confluent.io/current/clients/librdkafka/rdkafka_8h.html
*/
Expand Down Expand Up @@ -162,7 +162,7 @@ public static function hasMethod(string $name): bool
}

/**
* Method must be supported by current binding version else an exception is thrown.
* Method must be supported by current binding version otherwise an exception is thrown.
* @throws RuntimeException
*/
public static function requireMethod(string $name): void
Expand All @@ -179,7 +179,7 @@ public static function requireMethod(string $name): void
}

/**
* Version must match the current binding else an exception is thrown.
* Version must match the current binding otherwise an exception is thrown.
* @throws RuntimeException
*/
public static function requireVersion(string $operator, string $version): void
Expand Down

0 comments on commit e0c8dd1

Please sign in to comment.