| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | class TooManyRequestsResponse extends Response { |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @since 19.0.0 |
||
| 36 | */ |
||
| 37 | public function __construct() { |
||
| 38 | parent::__construct(); |
||
| 39 | |||
| 40 | $this->setContentSecurityPolicy(new ContentSecurityPolicy()); |
||
| 41 | $this->setStatus(429); |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | * @since 19.0.0 |
||
| 47 | */ |
||
| 48 | public function render() { |
||
| 51 | } |
||
| 52 | } |
||
| 53 |