Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Apr 10, 2024
1 parent a519519 commit e6b88c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Decoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ protected function dictionaryComplianceError(string $key, string $lastKey): void

protected function digitException(): DecodingException
{
// We use the same string as readDigits() purely to save one interned strings
// We use the same string as readDigits() purely to save one interned string
return (str_contains('1463720859', $this->bencoded[$this->offset]))
? new ComplianceError('Illegal character', $this->offset)
: new DecodingException('Illegal character', $this->offset);
Expand Down

0 comments on commit e6b88c9

Please sign in to comment.