modifs.mineures sans commentaires

This commit is contained in:
Jephté Clain 2023-12-28 21:05:39 +04:00
parent 65430de69a
commit 2136b45183
1 changed files with 2 additions and 1 deletions

View File

@ -13,9 +13,10 @@ class ScalarValue extends Value {
function __construct(ScalarSchema $schema, &$dest=null, $destKey=null, bool $defaultVerifix=true, bool $defaultThrow=true) {
$this->schema = $schema;
$this->defaultVerifix = $defaultVerifix;
$this->defaultThrow = $defaultThrow;
$this->defaultThrow = false;
$this->result = new ScalarResult();
$this->reset($dest, $destKey);
$this->defaultThrow = $defaultThrow;
}
function isScalar(?ScalarValue &$scalar=null): bool { $scalar = $this; return true; }