Misc
This commit is contained in:
parent
58e6157f40
commit
a2cc18a434
@ -18,7 +18,7 @@ class ArgumentParser
|
|||||||
/**
|
/**
|
||||||
* @var array Parsed and ready to use
|
* @var array Parsed and ready to use
|
||||||
*/
|
*/
|
||||||
protected array $parsed;
|
protected array $parsed = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
@ -62,7 +62,8 @@ abstract class AbstractConverter
|
|||||||
$this->setCollectionVars();
|
$this->setCollectionVars();
|
||||||
foreach ($collection->iterate() as $path => $item) {
|
foreach ($collection->iterate() as $path => $item) {
|
||||||
// $this->requests[$path][] = $this->makeRequest($item);
|
// $this->requests[$path][] = $this->makeRequest($item);
|
||||||
$this->writeRequest($this->makeRequest($item), $path);
|
$request = $this->makeRequest($item);
|
||||||
|
$this->writeRequest($request, $path);
|
||||||
}
|
}
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
@ -103,6 +104,7 @@ abstract class AbstractConverter
|
|||||||
foreach ($this->collection?->variable ?? [] as $var) {
|
foreach ($this->collection?->variable ?? [] as $var) {
|
||||||
Environment::instance()->setCustomVar($var->key, $var->value);
|
Environment::instance()->setCustomVar($var->key, $var->value);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user