File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function save(string $component): void
4040 $ this ->cache ->save ($ this ->getCacheKey ($ component ), $ data , 3600 * 24 );
4141 }
4242
43- private function getCacheKey (string $ component )
43+ private function getCacheKey (string $ component ): string
4444 {
4545 return 'FactoriesCache_ ' . $ component ;
4646 }
Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ public static function getComponentInstances(string $component): array
474474 *
475475 * @internal For caching only
476476 */
477- public static function setComponentInstances (string $ component , array $ data )
477+ public static function setComponentInstances (string $ component , array $ data ): void
478478 {
479479 static ::$ aliases [$ component ] = $ data ['aliases ' ];
480480 self ::$ instances [$ component ] = $ data ['instances ' ];
You can’t perform that action at this time.
0 commit comments