Skip to content

Commit

Permalink
Fix Algorithm::hashCode()
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Dec 2, 2023
1 parent f9eb9e2 commit 36107ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ Compression streams ChangeLog

## ?.?.? / ????-??-??

## 1.0.2 / 2023-12-02

* Fixed *E_WARNING: Undefined property: [...]::$name* - @thekid
* Added PHP 8.4 to the test matrix - @thekid

## 1.0.1 / 2023-05-16
Expand Down
2 changes: 1 addition & 1 deletion src/main/php/io/streams/compress/Algorithm.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public abstract function open(InputStream $in): InputStream;
public abstract function create(OutputStream $out, int $level= Compression::DEFAULT): OutputStream;

/** @return string */
public function hashCode() { return crc32($this->name); }
public function hashCode() { return crc32($this->name()); }

/** @return string */
public function toString() {
Expand Down

0 comments on commit 36107ac

Please sign in to comment.