Skip to content

Commit

Permalink
Replace deprecated Faker property access
Browse files Browse the repository at this point in the history
  • Loading branch information
manageruz committed Jan 12, 2024
1 parent ca1335a commit 7abcfb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Test/Fakers/GroupFaker.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class GroupFaker extends GroupModel
public function fake(Generator &$faker): stdClass
{
return (object) [
'name' => $faker->word,
'description' => $faker->sentence,
'name' => $faker->word(),
'description' => $faker->sentence(),
];
}
}
4 changes: 2 additions & 2 deletions src/Test/Fakers/PermissionFaker.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class PermissionFaker extends PermissionModel
public function fake(Generator &$faker): array
{
return [
'name' => $faker->word,
'description' => $faker->sentence,
'name' => $faker->word(),
'description' => $faker->sentence(),
];
}
}

0 comments on commit 7abcfb9

Please sign in to comment.