Четвёртая итерация Receipt

- 100% покрытие
- элвисы в разных сеттерах
This commit is contained in:
2021-12-08 19:04:14 +08:00
parent 703c5178f5
commit 16d1146826
6 changed files with 226 additions and 28 deletions

View File

@@ -340,7 +340,7 @@ class Receipt extends Entity
throw new TooLongAddCheckPropException($add_check_props);
}
}
$this->add_check_props = empty($add_check_props) ? null : $add_check_props;
$this->add_check_props = $add_check_props ?: null;
return $this;
}