Skip to content

Commit

Permalink
Release 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Dec 31, 2016
1 parent af68558 commit c706edc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

**2.0.2 (released 2016-12-29)**:

- Fix bug related to bc math accuracy (thanks [@jkramarz](https://github.com/ivanakimov/hashids.php/pull/79))

**2.0.1 (released 2016-12-29)**:

- Fix bug related to big numbers (thanks [@jkramarz](https://github.com/ivanakimov/hashids.php/pull/75))
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ $hex = $hashids->decodeHex($id); // 507f1f77bcf86cd799439011
1. When decoding, output is always an array of numbers (even if you encode only one number):

```php
use Hashids\Hashids;
use Hashids\Hashids;

$hashids = new Hashids();
$hashids = new Hashids();

$id = $hashids->encode(1);

Expand All @@ -123,9 +123,9 @@ $hex = $hashids->decodeHex($id); // 507f1f77bcf86cd799439011
3. If you pass bogus input to `encode()`, an empty string will be returned:

```php
use Hashids\Hashids;
use Hashids\Hashids;

$hashids = new Hashids();
$hashids = new Hashids();

$id = $hashids->encode('123a');

Expand Down

0 comments on commit c706edc

Please sign in to comment.