Skip to content

Commit

Permalink
Update IocArt.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurHlt committed Aug 29, 2014
1 parent a3560fe commit 40712dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Arhframe/IocArt/IocArt.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private function instanciator($bean, $beanId)
$contentBean = $this->inject($value, $beanId);
if (count($contentBean) == 1 && is_array($contentBean)) {
if (is_numeric(key($contentBean))) {
$contentBean = current($contentBean);
$contentBean = $this->getContentBeanWhenArray($contentBean);
}
}
if (!empty($contentBean)) {
Expand Down

0 comments on commit 40712dd

Please sign in to comment.