Skip to content

Commit

Permalink
Fixing () must be of type int in imap_delete() - resolves #349 (#353)
Browse files Browse the repository at this point in the history
Co-authored-by: taras <[email protected]>
  • Loading branch information
deepvision7 and taras authored Dec 23, 2023
1 parent eef6f0b commit d420ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Instagram/Auth/Checkpoint/ImapClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function getLastInstagramEmailContent(int $try = 1): string
}

if ($isMailFromInstagram && isset($match[1])) {
imap_delete($resource, $i);
imap_delete($resource, "$i");

$foundCode = true;
$code = $match[1];
Expand Down

0 comments on commit d420ad2

Please sign in to comment.