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)

View File

@ -1581,7 +1581,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
return $this; return $this;
} }
$this->centerHistory[] = new PersonCenterHistory($this, $center, $modification); $this->centerHistory[] = new PersonCenterHistory($this, $center, $modification);
return $this; return $this;
} }