dummen fehler in laufbedingung von schleifen behoben.
This commit is contained in:
parent
f77129975a
commit
cf660d21c3
|
@ -55,7 +55,7 @@ class NumberBaseCryptCollection extends NumberBaseCrypt {
|
|||
*/
|
||||
public function render() : string {
|
||||
$cd = [];
|
||||
for($i=0;$i<$this->dataList;$i++) {
|
||||
for($i=0;$i<count($this->dataList);$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;$i<count($this->dataList);$i++) {
|
||||
$this->setDigits($this->digitList[$i]);
|
||||
$cd[] = $this->addLength($this->base10ToBase($this->dataList[$i]));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue