Skip to content

Commit

Permalink
bot: fix cs [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
nikophil authored and kbond committed Oct 25, 2024
1 parent 2b12ef0 commit 6d772b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static function createObjectFromServiceFactoryInDataProvider(): iterable
{
yield 'service factory' => [
Object1Factory::createOne(['prop1' => $prop1 = faker()->sentence()]),
"$prop1-constructor"
"{$prop1}-constructor",
];
}
}
2 changes: 1 addition & 1 deletion tests/Integration/DataProvider/DataProviderInUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function assert_it_can_create_use_faker_in_data_provider(mixed $providedD

public static function createObjectUsingFakerInDataProvider(): iterable
{
yield 'object factory' => [Object1Factory::createOne(['prop1' => $prop1 = faker()->sentence()]), "$prop1-constructor"];
yield 'object factory' => [Object1Factory::createOne(['prop1' => $prop1 = faker()->sentence()]), "{$prop1}-constructor"];
yield 'persistent factory' => [GenericEntityFactory::createOne(['prop1' => $prop1 = faker()->sentence()]), $prop1];
}
}

0 comments on commit 6d772b7

Please sign in to comment.