Skip to content

Commit

Permalink
added support for __class configuration key (#18)
Browse files Browse the repository at this point in the history
See details yiisoft/yii2#17607
  • Loading branch information
bazilio91 authored Nov 13, 2020
2 parents 8ffd752 + e2dae29 commit 2993af8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions StubsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ public function actionIndex()
$userIdentities[] = $component['identityClass'];
}

if (!isset($component['class'])) {
continue;
if (isset($component['class'])) {
$components[$name][] = $component['class'];
} elseif (isset($component['__class'])) {
$components[$name][] = $component['__class'];
}

$components[$name][] = $component['class'];
}
}

Expand Down

0 comments on commit 2993af8

Please sign in to comment.