Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
CRAP | |
100.00% |
1 / 1 |
| LeftParen | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
2 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| get | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Cosray\Finder\Output; |
| 6 | |
| 7 | use Cosray\Finder\Input\Token; |
| 8 | |
| 9 | class LeftParen implements Output |
| 10 | { |
| 11 | public function __construct( |
| 12 | #[\SensitiveParameter] |
| 13 | public Token $token, |
| 14 | ) {} |
| 15 | |
| 16 | public function get(): string |
| 17 | { |
| 18 | return '('; |
| 19 | } |
| 20 | } |