Skip to content

Commit

Permalink
Fix one more php 7.0.0 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mosnar committed Nov 21, 2019
1 parent 9b1ebdd commit 9043018
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Compress Changelog

## 1.0.2 - 2019-11-20
### Fixed
- Improved compatibility with PHP 7.0.x (again)

## 1.0.1 - 2019-11-20
### Fixed
- Improved compatibility with PHP 7.0.x
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "venveo/craft-compress",
"description": "Create smart zip files from Craft assets on the fly",
"type": "craft-plugin",
"version": "1.0.1",
"version": "1.0.2",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/services/Compress.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ private function getHashForAssets($assets): string
* @param $hash
* @return ArchiveRecord|null
*/
private function getArchiveRecordByHash($hash): ?ArchiveRecord
private function getArchiveRecordByHash($hash): ArchiveRecord
{
return ArchiveRecord::findOne(['hash' => $hash]);
}
Expand Down

0 comments on commit 9043018

Please sign in to comment.