mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 01:03:13 +08:00
Replaced regular callbacks by arrow functions when possible
This commit is contained in:
@@ -109,8 +109,6 @@ class AuthenticationMiddlewareTest extends TestCase
|
||||
|
||||
private function getDummyMiddleware(): MiddlewareInterface
|
||||
{
|
||||
return middleware(function () {
|
||||
return new Response\EmptyResponse();
|
||||
});
|
||||
return middleware(fn () => new Response\EmptyResponse());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user