Skip to content

Commit 63c4c16

Browse files
Clean code
1 parent 9306e1f commit 63c4c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message/IncomingResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct(RequestInterface $request, $data)
2929
{
3030
parent::__construct($request, $data);
3131

32-
if ('0' === $this->getCode()) {
32+
if ($this->isSuccessful()) {
3333
$this->validateSignature();
3434
}
3535
}

0 commit comments

Comments
 (0)