mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Replaced regular callbacks by arrow functions when possible
This commit is contained in:
@@ -91,9 +91,7 @@ class CreateShortUrlActionTest extends ApiTestCase
|
||||
|
||||
public function provideMaxVisits(): array
|
||||
{
|
||||
return map(range(10, 15), function (int $i) {
|
||||
return [$i];
|
||||
});
|
||||
return map(range(10, 15), fn (int $i) => [$i]);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
|
||||
Reference in New Issue
Block a user