| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 2 | public function getRules() |
|
| 24 | { |
||
| 25 | return [ |
||
| 26 | 2 | 'name' => ['type' => TypeService::TYPE_STRING, 'final' => true], |
|
| 27 | 2 | 'type' => ['type' => TypeService::TYPE_ANY_INPUT, 'final' => true], |
|
| 28 | 2 | 'defaultValue' => ['type' => TypeService::TYPE_ANY], |
|
| 29 | 2 | 'description' => ['type' => TypeService::TYPE_STRING], |
|
| 30 | 2 | 'isDeprecated' => ['type' => TypeService::TYPE_BOOLEAN], |
|
| 31 | 2 | 'deprecationReason' => ['type' => TypeService::TYPE_STRING], |
|
| 32 | 2 | ]; |
|
| 33 | } |
||
| 34 | |||
| 41 |