This commit is contained in:
Julie Lenaerts 2021-12-13 10:10:05 +01:00
parent 20c4d07668
commit 1fff9ef535
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ class AsideActivityCategory
public function setParent(?self $parent): self public function setParent(?self $parent): self
{ {
// cache the old result for changing it during validaiton // cache the old result for changing it during validaiton
if($this->parent) { if ($this->parent) {
$this->oldParent = $this->parent; $this->oldParent = $this->parent;
} }

View File

@ -186,7 +186,7 @@ class HouseholdMemberController extends ApiController
$_format, $_format,
['groups' => ['read']] ['groups' => ['read']]
); );
} catch (Exception\InvalidArgumentException|Exception\UnexpectedValueException $e) { } catch (Exception\InvalidArgumentException | Exception\UnexpectedValueException $e) {
throw new BadRequestException("Deserialization error: {$e->getMessage()}", 45896, $e); throw new BadRequestException("Deserialization error: {$e->getMessage()}", 45896, $e);
} }