Passed
Pull Request — master (#306)
by Tobias
02:05
created

BrowserIntegrationTest::createHttpAdapter()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Buzz\Test\Integration;
6
7
use Buzz\Browser;
8
use Buzz\Client\FileGetContents;
9
10
class BrowserIntegrationTest extends BaseIntegrationTest
11
{
12
    protected function createHttpAdapter()
13
    {
14
        $client = new FileGetContents();
15
        $browser = new Browser($client);
16
17
        return $browser;
18
    }
19
}
20