mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 22:04:23 +00:00
stylefix
This commit is contained in:
parent
20c4d07668
commit
1fff9ef535
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user