From ee7592ffdd67d8ac24b8f3d3b3f87b8b28932d5b Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Tue, 30 Apr 2024 17:01:41 +0200 Subject: fix: Run cs:fix Signed-off-by: Marcel Klehr --- tests/lib/TaskProcessing/TaskProcessingTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lib/TaskProcessing/TaskProcessingTest.php') diff --git a/tests/lib/TaskProcessing/TaskProcessingTest.php b/tests/lib/TaskProcessing/TaskProcessingTest.php index e1ddaf82500..ddf64f23173 100644 --- a/tests/lib/TaskProcessing/TaskProcessingTest.php +++ b/tests/lib/TaskProcessing/TaskProcessingTest.php @@ -466,8 +466,8 @@ class TaskProcessingTest extends \Test\TestCase { public function testOldTasksShouldBeCleanedUp() { $currentTime = new \DateTime('now'); $timeFactory = $this->createMock(ITimeFactory::class); - $timeFactory->expects($this->any())->method('getDateTime')->willReturnCallback(fn() => $currentTime); - $timeFactory->expects($this->any())->method('getTime')->willReturnCallback(fn() => $currentTime->getTimestamp()); + $timeFactory->expects($this->any())->method('getDateTime')->willReturnCallback(fn () => $currentTime); + $timeFactory->expects($this->any())->method('getTime')->willReturnCallback(fn () => $currentTime->getTimestamp()); $this->taskMapper = new TaskMapper( \OCP\Server::get(IDBConnection::class), -- cgit v1.2.3