@@ -79,7 +79,7 @@ public function testMaintenanceAndTrashbin(): void {
7979 ];
8080 $ this ->config ->expects ($ this ->exactly (2 ))
8181 ->method ('setSystemValue ' )
82- ->willReturnCallback (function () use (&$ calls ) {
82+ ->willReturnCallback (function () use (&$ calls ): void {
8383 $ expected = array_shift ($ calls );
8484 $ this ->assertEquals ($ expected , func_get_args ());
8585 });
@@ -137,7 +137,7 @@ public function testExecute($encryptionEnabled, $continue): void {
137137 ];
138138 $ this ->config ->expects ($ this ->exactly (2 ))
139139 ->method ('setAppValue ' )
140- ->willReturnCallback (function () use (&$ calls ) {
140+ ->willReturnCallback (function () use (&$ calls ): void {
141141 $ expected = array_shift ($ calls );
142142 $ this ->assertEquals ($ expected , func_get_args ());
143143 });
@@ -188,7 +188,7 @@ public function testExecuteFailure(): void {
188188 ];
189189 $ this ->config ->expects ($ this ->exactly (2 ))
190190 ->method ('setAppValue ' )
191- ->willReturnCallback (function () use (&$ calls ) {
191+ ->willReturnCallback (function () use (&$ calls ): void {
192192 $ expected = array_shift ($ calls );
193193 $ this ->assertEquals ($ expected , func_get_args ());
194194 });
@@ -208,7 +208,7 @@ public function testExecuteFailure(): void {
208208 $ this ->decryptAll ->expects ($ this ->once ())
209209 ->method ('decryptAll ' )
210210 ->with ($ this ->consoleInput , $ this ->consoleOutput , 'user1 ' )
211- ->willReturnCallback (function () {
211+ ->willReturnCallback (function (): void {
212212 throw new \Exception ();
213213 });
214214
0 commit comments