Skip to content

Commit 68ef309

Browse files
committed
Fix formatting in GenericTraitsUseAnnotationTest and add newline at end of SingleLineInlineTraitUseService
1 parent a9bf7bc commit 68ef309

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

tests/Fixtures/Generics/SingleLineInlineTraitUseService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ class SingleLineInlineTraitUseService
1010
{
1111
/** @use GenericItemLoggerTrait<Dog> */
1212
use GenericItemLoggerTrait;
13-
}
13+
}

tests/TypeChecking/Generics/GenericTraitsUseAnnotationTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343

4444
expect($service->logItem(new Dog()))->toBeTrue();
4545
expect(fn () => $service->logItem(new Car()))
46-
->toThrow(TypeError::class, 'must be of type TypePHP\Tests\Fixtures\Domain\Dog');
46+
->toThrow(TypeError::class, 'must be of type TypePHP\Tests\Fixtures\Domain\Dog')
47+
;
4748
});
4849
});
4950
});

0 commit comments

Comments
 (0)