Skip to content

Commit

Permalink
Merge pull request #614 from manageruz/develop
Browse files Browse the repository at this point in the history
refactor: Replace deprecated Faker property access
  • Loading branch information
manageruz committed Jan 12, 2024
2 parents ca1335a + 7abcfb9 commit c5a9a49
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
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
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 c5a9a49

Please sign in to comment.