12 lines
419 B
Diff
12 lines
419 B
Diff
--- original/vendor/aura/di/src/Factory.php
|
|
+++ platform/vendor/aura/di/src/Factory.php
|
|
@@ -619,7 +619,7 @@
|
|
} while ($entity = get_parent_class($entity));
|
|
|
|
// get traits from ancestor traits
|
|
- while (list($trait) = each($traits)) {
|
|
+ foreach ($traits as $trait => $_) {
|
|
foreach (class_uses($trait) as $key => $name) {
|
|
$traits[$key] = $name;
|
|
}
|