diff --git a/src/class.NumberBaseCryptCollection.php b/src/class.NumberBaseCryptCollection.php index 85893f2..b1c7d96 100644 --- a/src/class.NumberBaseCryptCollection.php +++ b/src/class.NumberBaseCryptCollection.php @@ -55,7 +55,7 @@ class NumberBaseCryptCollection extends NumberBaseCrypt { */ public function render() : string { $cd = []; - for($i=0;$i<$this->dataList;$i++) { + for($i=0;$idataList);$i++) { $cd[] = $this->addLength($this->base10ToBase($this->dataList[$i])); } return implode('', $cd); @@ -67,7 +67,7 @@ class NumberBaseCryptCollection extends NumberBaseCrypt { */ public function renderComplex() : string { $cd = []; - for($i=0;$i<$this->dataList;$i++) { + for($i=0;$idataList);$i++) { $this->setDigits($this->digitList[$i]); $cd[] = $this->addLength($this->base10ToBase($this->dataList[$i])); }