Passed
Push — master ( 327a11...1a5769 )
by Valentin
58s
created

ProxyStub::__resolve()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Cycle\ORM\Promise\Example;
5
6
use Cycle\ORM\ORMInterface;
7
use Cycle\ORM\Promise\PromiseInterface;
8
9
class ProxyStub implements PromiseInterface
10
{
11
    /**
12
     * @param ORMInterface $orm
13
     * @param string       $role
14
     * @param array        $scope
15
     */
16
    public function __construct(ORMInterface $orm, string $role, array $scope)
0 ignored issues
show
Unused Code introduced by
The parameter $orm is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $role is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $scope is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
17
    {
18
    }
19
20
    /**
21
     * {@inheritdoc}
22
     */
23
    public function __loaded(): bool
24
    {
25
    }
26
27
    /**
28
     * {@inheritdoc}
29
     */
30
    public function __role(): string
31
    {
32
    }
33
34
    /**
35
     * {@inheritdoc}
36
     */
37
    public function __scope(): array
38
    {
39
    }
40
41
    /**
42
     * {@inheritdoc}
43
     */
44
    public function __resolve()
45
    {
46
    }
47
}