We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c69c9b5 commit 3d9f41dCopy full SHA for 3d9f41d
1 file changed
test/Unit/App/PaginationTest.php
@@ -14,12 +14,8 @@ public function testWillNotInitializeWithoutLimit(): void
14
{
15
$this->expectException(DivisionByZeroError::class);
16
$pagination = new Pagination(10, 0, 0);
17
- $this->assertEmpty($pagination);
18
- }
19
20
- public function testWillInitializeWithZeroTotal(): void
21
- {
22
- $pagination = new Pagination(0, 0, 10);
+ // The below line makes no sense, but it makes both Qodana and Psalm happy
23
$this->assertInstanceOf(Pagination::class, $pagination);
24
}
25
0 commit comments