Skip to content

Commit

Permalink
fix: report types
Browse files Browse the repository at this point in the history
  • Loading branch information
ugoliniriccardo committed Aug 28, 2022
1 parent c385d6e commit ec6c511
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Model/Config/Source/Types.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ public function toOptionArray(): array

$allCollectors = $this->crtList->getAllCollectorList();
foreach ($allCollectors as $allCollector) {
$downaloders = $allCollector->getCollectors();
$types = array_keys($downaloders);
$types = array_keys($allCollector);

foreach ($types as $type) {
$options[] = [
Expand All @@ -49,8 +48,7 @@ public function toOptionArray(): array

$allRefiners = $this->crtList->getAllRefinerList();
foreach ($allRefiners as $allRefiner) {
$refiners = $allRefiner->getRefiners();
$types = array_keys($refiners);
$types = array_keys($allRefiner);

foreach ($types as $type) {
$options[] = [
Expand All @@ -62,8 +60,7 @@ public function toOptionArray(): array

$allTransferors = $this->crtList->getAllTransferorList();
foreach ($allTransferors as $allTransferor) {
$transferors = $allTransferor->getTransferors();
$types = array_keys($transferors);
$types = array_keys($allTransferor);

foreach ($types as $type) {
$options[] = [
Expand Down

0 comments on commit ec6c511

Please sign in to comment.