Skip to content

Commit 546e369

Browse files
authored
SecurityRolesBuilder: apply ArrayToFirstClassCallableRector (#1737)
1 parent fe5afad commit 546e369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Security/RolesBuilder/SecurityRolesBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function getExpandedRoles(?string $domain = null): array
4242

4343
foreach ($hierarchy as $role => $childRoles) {
4444
$translatedRoles = array_map(
45-
[$this, 'translateRole'],
45+
$this->translateRole(...),
4646
$childRoles,
4747
array_fill(0, \count($childRoles), $domain)
4848
);

0 commit comments

Comments
 (0)