mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 07:13:11 +08:00
Replaced regular callbacks by arrow functions when possible
This commit is contained in:
@@ -11,8 +11,6 @@ class EmptyResponseImplicitOptionsMiddlewareFactory
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return new ImplicitOptionsMiddleware(function () {
|
||||
return new EmptyResponse();
|
||||
});
|
||||
return new ImplicitOptionsMiddleware(fn () => new EmptyResponse());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user