Skip to content

Commit

Permalink
Fix: Method is instance method
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 4, 2023
1 parent 6c3a043 commit a81dba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Faker/Core/Number.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function randomDigit(): int

public function randomDigitNot(int $except): int
{
$result = self::numberBetween(0, 8);
$result = $this->numberBetween(0, 8);

if ($result >= $except) {
++$result;
Expand Down

0 comments on commit a81dba3

Please sign in to comment.