mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 18:14:59 +00:00
rector fixes after rector's upgrade
This commit is contained in:
@@ -95,9 +95,7 @@ class RemoveOldVersionCronJobTest extends KernelTestCase
|
||||
false => $messageBus->method('dispatch'),
|
||||
};
|
||||
|
||||
$methodDispatch->willReturnCallback(function (RemoveOldVersionMessage $message) {
|
||||
return new Envelope($message);
|
||||
});
|
||||
$methodDispatch->willReturnCallback(fn (RemoveOldVersionMessage $message) => new Envelope($message));
|
||||
|
||||
return $messageBus;
|
||||
}
|
||||
|
Reference in New Issue
Block a user