Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skie committed Apr 5, 2019
1 parent 9848c6d commit d429c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/ImageHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function imageUrl($image, $version = null, $options = []) {
$fileInfo = pathinfo($image['path']);
$hash = $this->_getHash($version, $image);
$version = $fileInfo['dirname'] . DS . $fileInfo['filename'];
if ($hash != null) {
if ($hash !== null) {
$version .= '.' . $hash;
}

Expand Down

0 comments on commit d429c39

Please sign in to comment.