Skip to content

Commit 761fc6d

Browse files
committed
Don't use deprecated faker method
1 parent 606c348 commit 761fc6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exercise/UniteTheTypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getArgs(): array
5151
{
5252
$numbers = array_map(
5353
function (): string {
54-
if ($this->faker->boolean) {
54+
if ($this->faker->boolean()) {
5555
return (string) $this->faker->numberBetween(0, 50);
5656
}
5757
return (string) $this->faker->randomFloat(3, 0, 50);

0 commit comments

Comments
 (0)