Skip to content

Commit 6d021f7

Browse files
committed
More type safety.
1 parent 21dfa30 commit 6d021f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dflydev/Hawk/Server/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function createHeader(CredentialsInterface $credentials, Artifacts $artif
182182
'mac' => $this->crypto->calculateMac('response', $credentials, $responseArtifacts),
183183
);
184184

185-
if ($hash) {
185+
if ($hash !== null) {
186186
$attributes['hash'] = $hash;
187187
}
188188

0 commit comments

Comments
 (0)