Stratadox /
CardGame
| 1 | <?php declare(strict_types=1); |
||||||
| 2 | |||||||
| 3 | namespace Stratadox\CardGame\Infrastructure\Test; |
||||||
| 4 | |||||||
| 5 | final class TestClient |
||||||
| 6 | { |
||||||
| 7 | private $clock; |
||||||
| 8 | private $uri; |
||||||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||||||
| 9 | private $resource; |
||||||
|
0 ignored issues
–
show
|
|||||||
| 10 | |||||||
| 11 | public function __construct(TestClock $clock) |
||||||
| 12 | { |
||||||
| 13 | $this->clock = $clock; |
||||||
| 14 | } |
||||||
| 15 | |||||||
| 16 | public function to(string $page, ?int $element = null): void |
||||||
|
0 ignored issues
–
show
The parameter
$page is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
The parameter
$element is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for 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 | public function do(string $action, array $parameters = []): void |
||||||
|
0 ignored issues
–
show
The parameter
$parameters is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
The parameter
$action is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
|
|||||||
| 22 | { |
||||||
| 23 | |||||||
| 24 | } |
||||||
| 25 | |||||||
| 26 | /** |
||||||
| 27 | * @param string $property |
||||||
| 28 | * @return int|float|bool|string|array |
||||||
| 29 | */ |
||||||
| 30 | public function see(string $property) |
||||||
|
0 ignored issues
–
show
The parameter
$property is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
|
|||||||
| 31 | { |
||||||
| 32 | return 0; |
||||||
| 33 | } |
||||||
| 34 | |||||||
| 35 | /** @return string[] */ |
||||||
| 36 | public function flashMessages(): array |
||||||
| 37 | { |
||||||
| 38 | return []; |
||||||
| 39 | } |
||||||
| 40 | } |
||||||
| 41 |