@@ -36,7 +36,7 @@ |
||
| 36 | 36 | |
| 37 | 37 | foreach ($fragment['ownership_resolver_list'] as $resolver_id => $resolver) |
| 38 | 38 | { |
| 39 | - $resolver = ((array) $resolver) + [ 'weight' => 0 ]; |
|
| 39 | + $resolver = ((array) $resolver) + ['weight' => 0]; |
|
| 40 | 40 | |
| 41 | 41 | $list[$resolver_id] = $resolver[0]; |
| 42 | 42 | $weight[$resolver_id] = $resolver['weight']; |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | foreach ($fragment['permission_resolver_list'] as $resolver_id => $resolver) |
| 36 | 36 | { |
| 37 | - $resolver = ((array) $resolver) + [ 'weight' => 0 ]; |
|
| 37 | + $resolver = ((array) $resolver) + ['weight' => 0]; |
|
| 38 | 38 | |
| 39 | 39 | $list[$resolver_id] = $resolver[0]; |
| 40 | 40 | $weight[$resolver_id] = $resolver['weight']; |