PHP 7.2 compatbility

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-03-22 14:32:55 +01:00
parent cffcd4fd66
commit f840bbba11
2 changed files with 3 additions and 3 deletions

View File

@@ -218,11 +218,11 @@ class AttachmentServiceTest extends TestCase {
->method('extendData')
->withConsecutive(
[$attachments[0]],
[$attachments[1]],
[$attachments[1]]
)
->willReturnOnConsecutiveCalls(
$attachments[0],
$attachments[1],
$attachments[1]
);
$this->assertEquals($attachments, $this->attachmentService->findAll(123, false));