Code Duplication    Length = 9-9 lines in 2 locations

tests/UriTemplate/ExpressionTest.php 1 location

@@ 252-260 (lines=9) @@
249
            ],
250
        ];
251
252
        foreach ($templateAndExpansionData as $specification => $tests) {
253
            foreach ($tests as $offset => $test) {
254
                yield $specification.' test '.$offset => [
255
                    'template' => $test[0],
256
                    'expectedUriString' => $test[1],
257
                    'variables' => $variables,
258
                ];
259
            }
260
        }
261
    }
262
263
    /**

tests/UriTemplateTest.php 1 location

@@ 266-274 (lines=9) @@
263
            ],
264
        ];
265
266
        foreach ($templateAndExpansionData as $specification => $tests) {
267
            foreach ($tests as $offset => $test) {
268
                yield $specification.' test '.$offset => [
269
                    'template' => $test[0],
270
                    'expectedUriString' => $test[1],
271
                    'variables' => $variables,
272
                ];
273
            }
274
        }
275
    }
276
277
    public function testAllowsQueryValuePairsArrayExpansion(): void