mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 00:03:12 +08:00
Replaced regular callbacks by arrow functions when possible
This commit is contained in:
@@ -46,8 +46,6 @@ class ListTagsCommand extends Command
|
||||
return [['No tags yet']];
|
||||
}
|
||||
|
||||
return map($tags, function (Tag $tag) {
|
||||
return [(string) $tag];
|
||||
});
|
||||
return map($tags, fn (Tag $tag) => [(string) $tag]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user