Code Duplication    Length = 17-17 lines in 2 locations

src/QueryCountClientSymfony3Trait.php 1 location

@@ 21-37 (lines=17) @@
18
 *
19
 * @internal
20
 */
21
trait QueryCountClientSymfony3Trait
22
{
23
    public function request(
24
        $method,
25
        $uri,
26
        array $parameters = [],
27
        array $files = [],
28
        array $server = [],
29
        $content = null,
30
        $changeHistory = true
31
    ) {
32
        $crawler = parent::request($method, $uri, $parameters, $files, $server, $content, $changeHistory);
33
        $this->checkQueryCount();
34
35
        return $crawler;
36
    }
37
}
38

src/QueryCountClientTrait.php 1 location

@@ 21-37 (lines=17) @@
18
 *
19
 * @internal
20
 */
21
trait QueryCountClientTrait
22
{
23
    public function request(
24
        string $method,
25
        string $uri,
26
        array $parameters = [],
27
        array $files = [],
28
        array $server = [],
29
        string $content = null,
30
        bool $changeHistory = true
31
    ) {
32
        $crawler = parent::request($method, $uri, $parameters, $files, $server, $content, $changeHistory);
33
        $this->checkQueryCount();
34
35
        return $crawler;
36
    }
37
}
38