File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -83,9 +83,7 @@ private function getLivePropsToMap(Request $request): array
83
83
'path ' => [],
84
84
'query ' => [],
85
85
];
86
- foreach ($ metadata ->getAllLivePropsMetadata ($ component ) as $ livePropMetadata ) {
87
- $ name = $ livePropMetadata ->getName ();
88
- $ urlMapping = $ livePropMetadata ->urlMapping ();
86
+ foreach ($ metadata ->getAllUrlMappings () as $ name => $ urlMapping ) {
89
87
if (isset ($ values [$ name ]) && $ urlMapping ) {
90
88
$ urlLiveProps [$ urlMapping ->mapPath ? 'path ' : 'query ' ][$ urlMapping ->as ?? $ name ] =
91
89
$ values [$ name ];
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ public function testMissingMandatoryParametersException(): void
148
148
$ router ->expects (self ::once ())
149
149
->method ('match ' )
150
150
->with ($ previousUrl )
151
- ->willReturn ($ matchedRoute );
151
+ ->willReturn ([ ' _route ' => $ matchedRoute] );
152
152
$ router ->expects (self ::once ())
153
153
->method ('generate ' )
154
154
->with ($ matchedRoute , [])
You can’t perform that action at this time.
0 commit comments