Skip to content

Commit c59dd48

Browse files
committed
Fix typo in README.md
1 parent 914ed29 commit c59dd48

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The constructor of `LargeArrayBuffer` provides some options:
6464
1. You can set the threshold when to move the data to disk. When pushing data to the buffer, it is stored in memory until it gets too large.
6565
E.g.: `new LargeArrayBuffer(512);` to set a 512 MiB threshold.
6666
1. You can choose either the PHP serializer, the [igbinary](https://github.com/igbinary/igbinary) serializer or the [msgpack](https://github.com/msgpack/msgpack-php) serializer (PHP serializer is default).
67-
E.g.: `new LargeArrayBuffer(serializer: LargeArrayBuffer::COMPRESSION_IGBINARY);`
67+
E.g.: `new LargeArrayBuffer(serializer: LargeArrayBuffer::SERIALIZER_IGBINARY);`
6868
1. You can enable GZIP or LZ4 compression for the serialized items. Although this is recommended only if your items are pretty big like > 1 KiB each. E.g.: `new LargeArrayBuffer(compression: LargeArrayBuffer::COMPRESSION_GZIP);`. Note, that LZ4 compression requires [ext-lz4](https://github.com/kjdev/php-ext-lz4) to be loaded.
6969

7070
### Read from the buffer
@@ -124,4 +124,4 @@ To reproduce call bench/benchmark.php.
124124

125125
## License
126126

127-
This library is licensed under the MIT License (MIT). Please see [LICENSE](LICENSE) for more information.
127+
This library is licensed under the MIT License. Please see [LICENSE](LICENSE) for more information.

0 commit comments

Comments
 (0)