Skip to content

Commit a867fde

Browse files
committed
Fix CS
1 parent f27bdaa commit a867fde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Form/FormRegistry.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private function resolveAndAddType(FormTypeInterface $type)
102102
{
103103
try {
104104
if (isset($this->checkedTypes[$type->getName()])) {
105-
$types = implode(' > ', array_merge(array_keys($this->checkedTypes), [$type->getName()]));
105+
$types = implode(' > ', array_merge(array_keys($this->checkedTypes), array($type->getName())));
106106
throw new LogicException(sprintf('Circular reference detected for form "%s" (%s).', $type->getName(), $types));
107107
}
108108

@@ -123,7 +123,7 @@ private function resolveAndAddType(FormTypeInterface $type)
123123
throw new LogicException(sprintf('Form "%s" cannot have itself as a parent.', $type->getName()));
124124
}
125125

126-
$typeExtensions = [];
126+
$typeExtensions = array();
127127

128128
foreach ($this->extensions as $extension) {
129129
$typeExtensions = array_merge(

0 commit comments

Comments
 (0)