From 5a93ba5dd2b078c2ad870c9ba970796c33d39dc7 Mon Sep 17 00:00:00 2001 From: kbond Date: Wed, 1 Jan 2025 01:25:24 +0000 Subject: [PATCH] bot: fix cs [skip ci] --- tests/Unit/LazyValueTest.php | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/tests/Unit/LazyValueTest.php b/tests/Unit/LazyValueTest.php index 55475503..95a58031 100644 --- a/tests/Unit/LazyValueTest.php +++ b/tests/Unit/LazyValueTest.php @@ -57,18 +57,16 @@ public function can_handle_nested_lazy_values(): void */ public function can_handle_array_with_lazy_values(): void { - $value = LazyValue::new(function() { - return [ - 5, - LazyValue::new(fn() => 'foo'), - 6, - 'foo' => [ - 'bar' => 7, - 'baz' => LazyValue::new(fn() => 'foo'), - ], - [8, LazyValue::new(fn() => 'foo')], - ]; - }); + $value = LazyValue::new(fn() => [ + 5, + LazyValue::new(fn() => 'foo'), + 6, + 'foo' => [ + 'bar' => 7, + 'baz' => LazyValue::new(fn() => 'foo'), + ], + [8, LazyValue::new(fn() => 'foo')], + ]); $this->assertSame([5, 'foo', 6, 'foo' => ['bar' => 7, 'baz' => 'foo'], [8, 'foo']], $value()); }