DX: Fix CS and type hinting

This commit is contained in:
Julien Fastré 2022-12-22 11:22:49 +01:00
parent 3ca2811494
commit ad94c7bcb7
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
2 changed files with 3 additions and 5 deletions

View File

@ -136,11 +136,9 @@ trait AddWidgetConfigurationTrait
/** /**
* add configuration nodes for the widget at the given place. * add configuration nodes for the widget at the given place.
* *
* @param type $place * @param string $place
*
* @return type
*/ */
protected function addWidgetsConfiguration($place, ContainerBuilder $containerBuilder) protected function addWidgetsConfiguration(string $place, ContainerBuilder $containerBuilder)
{ {
$treeBuilder = new TreeBuilder($place); $treeBuilder = new TreeBuilder($place);
$root = $treeBuilder->getRootNode($place) $root = $treeBuilder->getRootNode($place)