Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions Build/phpstan/phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,3 @@ parameters:
identifier: typePerfect.narrowReturnObjectType
count: 2
path: ../../Classes/Domain/Repository/TeaRepository.php

-
rawMessage: 'Call to an undefined method object::getUid().'
identifier: method.notFound
count: 1
path: ../../Tests/Functional/Domain/Repository/TeaRepositoryTest.php
4 changes: 3 additions & 1 deletion Tests/Functional/Domain/Repository/TeaRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ public function findsAllFromAllPagesSortsByUidInDescendingOrder(): void
$result = $this->subject->findAllFromAllPages();

$result->rewind();
self::assertSame(2, $result->current()->getUid());
$current = $result->current();
self::assertInstanceOf(Tea::class, $current);
self::assertSame(2, $current->getUid());
}
}