A first VueJS component, get api datas, a simple button add person

* !! composer require serializer !!
* see: http://localhost:8001/fr/parcours/861/show
This commit is contained in:
2021-04-21 00:10:46 +02:00
parent 69ea88a4d5
commit e7df62b373
12 changed files with 193 additions and 88 deletions

View File

@@ -369,7 +369,7 @@ class Person implements HasCenterInterface
/**
* Return the opened accompanying period.
*/
public function getOpenedAccompanyingPeriod() : AccompanyingPeriod
public function getOpenedAccompanyingPeriod() : ?AccompanyingPeriod
{
if ($this->isOpen() === false) {
return null;