Code Duplication    Length = 7-7 lines in 2 locations

src/MockMethod/Handler.php 1 location

@@ 19-25 (lines=7) @@
16
17
    protected $methodMockConfig;
18
19
    public function __construct(TestCase $testCase, $initialStub, string $methodName, $methodMockConfig)
20
    {
21
        $this->testCase = $testCase;
22
        $this->initialStub = $initialStub;
23
        $this->methodName = $methodName;
24
        $this->methodMockConfig = $methodMockConfig;
25
    }
26
27
    abstract public function handle(): bool;
28
 

src/MockMethod/Resolver.php 1 location

@@ 17-23 (lines=7) @@
14
15
    private $methodMockConfig;
16
17
    public function __construct(TestCase $testCase, $initialStub, string $methodName, $methodMockConfig)
18
    {
19
        $this->testCase = $testCase;
20
        $this->initialStub = $initialStub;
21
        $this->methodName = $methodName;
22
        $this->methodMockConfig = $methodMockConfig;
23
    }
24
25
    public function resolveAndModifyStub()
26
    {