File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -502,12 +502,14 @@ public static function getComponentInstances(string $component): array
502502 {
503503 if (! isset (static ::$ aliases [$ component ])) {
504504 return [
505+ 'options ' => [],
505506 'aliases ' => [],
506507 'instances ' => [],
507508 ];
508509 }
509510
510511 return [
512+ 'options ' => static ::$ options [$ component ],
511513 'aliases ' => static ::$ aliases [$ component ],
512514 'instances ' => static ::$ instances [$ component ],
513515 ];
@@ -520,8 +522,10 @@ public static function getComponentInstances(string $component): array
520522 */
521523 public static function setComponentInstances (string $ component , array $ data ): void
522524 {
525+ static ::$ options [$ component ] = $ data ['options ' ];
523526 static ::$ aliases [$ component ] = $ data ['aliases ' ];
524527 static ::$ instances [$ component ] = $ data ['instances ' ];
528+
525529 unset(static ::$ updated [$ component ]);
526530 }
527531
You can’t perform that action at this time.
0 commit comments