@@ -58,7 +58,6 @@ public function match($rawPathinfo)
5858 if ('/ ' === substr ($ pathinfo , -1 )) {
5959 // no-op
6060 } elseif ('GET ' !== $ canonicalMethod ) {
61- $ allow [] = 'GET ' ;
6261 goto not_a_fourth;
6362 } else {
6463 return array_replace ($ ret , $ this ->redirect ($ rawPathinfo .'/ ' , 'a_fourth ' ));
@@ -74,7 +73,6 @@ public function match($rawPathinfo)
7473 if ('/ ' === substr ($ pathinfo , -1 )) {
7574 // no-op
7675 } elseif ('GET ' !== $ canonicalMethod ) {
77- $ allow [] = 'GET ' ;
7876 goto not_a_fifth;
7977 } else {
8078 return array_replace ($ ret , $ this ->redirect ($ rawPathinfo .'/ ' , 'a_fifth ' ));
@@ -90,7 +88,6 @@ public function match($rawPathinfo)
9088 if ('/ ' === substr ($ pathinfo , -1 )) {
9189 // no-op
9290 } elseif ('GET ' !== $ canonicalMethod ) {
93- $ allow [] = 'GET ' ;
9491 goto not_a_sixth;
9592 } else {
9693 return array_replace ($ ret , $ this ->redirect ($ rawPathinfo .'/ ' , 'a_sixth ' ));
@@ -114,7 +111,6 @@ public function match($rawPathinfo)
114111 if ('/ ' === substr ($ pathinfo , -1 )) {
115112 // no-op
116113 } elseif ('GET ' !== $ canonicalMethod ) {
117- $ allow [] = 'GET ' ;
118114 goto not_nested_a;
119115 } else {
120116 return array_replace ($ ret , $ this ->redirect ($ rawPathinfo .'/ ' , 'nested_a ' ));
@@ -130,7 +126,6 @@ public function match($rawPathinfo)
130126 if ('/ ' === substr ($ pathinfo , -1 )) {
131127 // no-op
132128 } elseif ('GET ' !== $ canonicalMethod ) {
133- $ allow [] = 'GET ' ;
134129 goto not_nested_b;
135130 } else {
136131 return array_replace ($ ret , $ this ->redirect ($ rawPathinfo .'/ ' , 'nested_b ' ));
@@ -146,7 +141,6 @@ public function match($rawPathinfo)
146141 if ('/ ' === substr ($ pathinfo , -1 )) {
147142 // no-op
148143 } elseif ('GET ' !== $ canonicalMethod ) {
149- $ allow [] = 'GET ' ;
150144 goto not_nested_c;
151145 } else {
152146 return array_replace ($ ret , $ this ->redirect ($ rawPathinfo .'/ ' , 'nested_c ' ));
@@ -165,7 +159,6 @@ public function match($rawPathinfo)
165159 if ('/ ' === substr ($ pathinfo , -1 )) {
166160 // no-op
167161 } elseif ('GET ' !== $ canonicalMethod ) {
168- $ allow [] = 'GET ' ;
169162 goto not_slashed_a;
170163 } else {
171164 return array_replace ($ ret , $ this ->redirect ($ rawPathinfo .'/ ' , 'slashed_a ' ));
@@ -181,7 +174,6 @@ public function match($rawPathinfo)
181174 if ('/ ' === substr ($ pathinfo , -1 )) {
182175 // no-op
183176 } elseif ('GET ' !== $ canonicalMethod ) {
184- $ allow [] = 'GET ' ;
185177 goto not_slashed_b;
186178 } else {
187179 return array_replace ($ ret , $ this ->redirect ($ rawPathinfo .'/ ' , 'slashed_b ' ));
@@ -197,7 +189,6 @@ public function match($rawPathinfo)
197189 if ('/ ' === substr ($ pathinfo , -1 )) {
198190 // no-op
199191 } elseif ('GET ' !== $ canonicalMethod ) {
200- $ allow [] = 'GET ' ;
201192 goto not_slashed_c;
202193 } else {
203194 return array_replace ($ ret , $ this ->redirect ($ rawPathinfo .'/ ' , 'slashed_c ' ));
0 commit comments