Replaced regular callbacks by arrow functions when possible

This commit is contained in:
Alejandro Celaya
2019-12-29 23:16:55 +01:00
parent a830420d75
commit bfeb915cd2
19 changed files with 42 additions and 75 deletions

View File

@@ -34,9 +34,7 @@ class AuthenticationPluginManagerFactoryTest extends TestCase
private function getPlugins(AuthenticationPluginManager $pluginManager): array
{
return (function () {
return $this->services;
})->call($pluginManager);
return (fn () => $this->services)->call($pluginManager);
}
public function provideConfigs(): iterable