/** * @inheritdoc */ public function __construct(IComparable $element, bool $state) { $this->validateElement($element, Integer::class); parent::__construct($element, $state); }
/** * @inheritdoc */ public function __construct(IComparable $element, bool $state) { $this->validateElement($element, SingleDayTime::class); parent::__construct($element, $state); }