Skip to content

Commit ea53c7f

Browse files
committed
Fix redundant type casts
1 parent 18d4a66 commit ea53c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/SecurityExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ private function createExpression(ContainerBuilder $container, string $expressio
730730
private function createRequestMatcher(ContainerBuilder $container, string $path = null, string $host = null, int $port = null, array $methods = [], array $ips = null, array $attributes = []): Reference
731731
{
732732
if ($methods) {
733-
$methods = array_map('strtoupper', (array) $methods);
733+
$methods = array_map('strtoupper', $methods);
734734
}
735735

736736
if (null !== $ips) {

0 commit comments

Comments
 (0)