mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
✅ Make unit tests working
This commit is contained in:
@@ -102,7 +102,7 @@ class FormBuilder extends FormConfigBuilder implements \IteratorAggregate, FormB
|
||||
return $this->children[$name];
|
||||
}
|
||||
|
||||
throw new InvalidArgumentException(sprintf('The child with the name "%s" does not exist.', $name));
|
||||
throw new InvalidArgumentException(\sprintf('The child with the name "%s" does not exist.', $name));
|
||||
}
|
||||
|
||||
public function remove(string $name): static
|
||||
@@ -147,7 +147,7 @@ class FormBuilder extends FormConfigBuilder implements \IteratorAggregate, FormB
|
||||
|
||||
public function getFormConfig(): FormConfigInterface
|
||||
{
|
||||
/** @var $config self */
|
||||
/** @var self $config */
|
||||
$config = parent::getFormConfig();
|
||||
|
||||
$config->children = [];
|
||||
|
||||
Reference in New Issue
Block a user