| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 8 | class Example extends AbstractPost { |
||
| 9 | |||
| 10 | public const POST_TYPE = 'example'; |
||
| 11 | |||
| 12 | protected string $address; |
||
| 13 | |||
| 14 | public function __construct( \WP_Post $post, string $address ) { |
||
| 15 | $this->post = $post; |
||
| 16 | $this->address = $address; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function get_address(): string { |
||
| 21 | } |
||
| 22 | |||
| 24 |