Skip to content

Commit e0c8dd1

Browse files
committed
Minor typos
1 parent de06157 commit e0c8dd1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/RdKafka/FFI/Library.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
use function unlink;
1919

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

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

181181
/**
182-
* Version must match the current binding else an exception is thrown.
182+
* Version must match the current binding otherwise an exception is thrown.
183183
* @throws RuntimeException
184184
*/
185185
public static function requireVersion(string $operator, string $version): void

0 commit comments

Comments
 (0)