From 11beca762b31722e0e6690446f6dabf83bf9dafa Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 10 Jun 2026 19:00:32 +0100 Subject: code formatting --- tests/Unit/PathSegmentTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/Unit/PathSegmentTest.php') diff --git a/tests/Unit/PathSegmentTest.php b/tests/Unit/PathSegmentTest.php index ffad95f..5c4788f 100644 --- a/tests/Unit/PathSegmentTest.php +++ b/tests/Unit/PathSegmentTest.php @@ -42,7 +42,7 @@ it('gets key for type :dataset', function (PathSegmentType $type, ?string $res) ($t = PathSegmentType::Parameter)->name => [$t, ''], ]); -it('gets raw keys lowercase', function() { +it('gets raw keys lowercase', function () { $seg = new PathSegment('TesTiNg'); expect($seg->getType())->toBe(PathSegmentType::Raw); expect($seg->getKey())->toBe('testing'); @@ -178,7 +178,7 @@ it('can build full path') ->expect(fn () => $testChain()->getPath()) ->toBe('/test1/test2/test3'); -it('can build path with parameters', function() { +it('can build path with parameters', function () { $seg = new PathSegment(type: PathSegmentType::Root); $child = $seg->child('test1') ->child('test2', PathSegmentType::Parameter) @@ -191,7 +191,7 @@ it('can build path with parameters', function() { ]))->toBe('/test1/a/b/test4'); }); -it('throws when building path with missing parameters', function() { +it('throws when building path with missing parameters', function () { $seg = new PathSegment(type: PathSegmentType::Root); $child = $seg->child('test1') ->child('test2', PathSegmentType::Parameter) -- cgit v1.2.3