| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class HttpRule extends PrefixRule |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @return string |
||
| 18 | */ |
||
| 19 | protected function deprecated(): string |
||
| 20 | { |
||
| 21 | return \sprintf( |
||
| 22 | '%s: Type `%s` %s, use `%s`', |
||
| 23 | __CLASS__, |
||
| 24 | 'http', |
||
| 25 | __FUNCTION__, |
||
| 26 | 'prefix' |
||
| 27 | ); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * HttpRule constructor. |
||
| 32 | * |
||
| 33 | * @param string $key |
||
| 34 | * @param array $storage |
||
| 35 | * @param null $parent |
||
|
|
|||
| 36 | */ |
||
| 37 | public function __construct(string $key, array $storage, $parent = null) |
||
| 45 | } |
||
| 46 | |||
| 48 |