Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Jan 6, 2025
1 parent 3b80a50 commit 6ba0d1e
Showing 1 changed file with 21 additions and 23 deletions.
44 changes: 21 additions & 23 deletions tests/Loader/LoaderIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4094,34 +4094,32 @@ public static function provideFixturesToGenerate(): iterable
})();

// https://github.com/nelmio/alice/issues/770
yield 'typed parameters' => (static function () {
return [
[
'parameters' => [
'intParam' => 100,
'stringParam' => '100',
],
stdClass::class => [
'dummy' => [
'intParam' => '<{intParam}>',
'stringParam' => '<{stringParam}>',
],
yield 'typed parameters' => (static fn () => [
[
'parameters' => [
'intParam' => 100,
'stringParam' => '100',
],
stdClass::class => [
'dummy' => [
'intParam' => '<{intParam}>',
'stringParam' => '<{stringParam}>',
],
],
[
'parameters' => [
],
[
'parameters' => [
'intParam' => 100,
'stringParam' => '100',
],
'objects' => [
'dummy' => StdClassFactory::create([
'intParam' => 100,
'stringParam' => '100',
],
'objects' => [
'dummy' => StdClassFactory::create([
'intParam' => 100,
'stringParam' => '100',
]),
],
]),
],
];
})();
],
])();

// https://github.com/nelmio/alice/issues/894
yield 'complex circular reference case' => (static function () {
Expand Down

0 comments on commit 6ba0d1e

Please sign in to comment.