| @@ -7,8 +7,10 @@ | ||
| 7 | 7 | * @author Tobias Bäthge |
| 8 | 8 | * @since 1.0.0 |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | +declare(strict_types=1); | |
| 12 | + | |
| 11 | 13 | // Prohibit direct script loading. |
| 12 | 14 | defined( 'ABSPATH' ) || die( 'No direct script access allowed!' ); |
| 13 | 15 | |
| 14 | 16 | /** |
| @@ -77,9 +79,9 @@ | ||
| 77 | 79 | register_post_type( $this->post_type, $post_type_args ); |
| 78 | 80 | } |
| 79 | 81 | |
| 80 | 82 | /** |
| 81 | - * Inserts a post with the correct Custom Post Type and default values in the the wp_posts table in the database. | |
| 83 | + * Inserts a post with the correct Custom Post Type and default values in the wp_posts table in the database. | |
| 82 | 84 | * |
| 83 | 85 | * @since 1.0.0 |
| 84 | 86 | * |
| 85 | 87 | * @param array<string, mixed> $post Post to insert. |
| @@ -135,9 +137,9 @@ | ||
| 135 | 137 | return $post_id; |
| 136 | 138 | } |
| 137 | 139 | |
| 138 | 140 | /** |
| 139 | - * Updates an existing post with the correct Custom Post Type and default values in the the wp_posts table in the database. | |
| 141 | + * Updates an existing post with the correct Custom Post Type and default values in the wp_posts table in the database. | |
| 140 | 142 | * |
| 141 | 143 | * @since 1.0.0 |
| 142 | 144 | * |
| 143 | 145 | * @param array<string, mixed> $post Post. |