Skip to content

Commit 22a1762

Browse files
authored
Merge pull request #5 from yakubido/master
fix notice
2 parents a5adf29 + 54d0018 commit 22a1762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Coder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function decodeLogs(array $logs): array
5252
$eventInputs[$id] = $event;
5353
}
5454

55-
if ($topicId)
55+
if ($topicId && isset($eventInputs[$topicId]))
5656
{
5757
$inputs = array_get($eventInputs[$topicId], 'inputs');
5858
$parsedEvent = $this->decodeEvent($inputs, $topics, $data);

0 commit comments

Comments
 (0)