Skip to content

Commit 397f888

Browse files
committed
Replace isset with null check for path_hash
1 parent d2a858a commit 397f888

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PathInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function getContentHash(): ?string {
118118
}
119119

120120
public function getPathHash(): string {
121-
if ( isset( $this->path_hash ) ) {
121+
if ( $this->path_hash !== null ) {
122122
return $this->path_hash;
123123
}
124124

0 commit comments

Comments
 (0)