Skip to content

Commit 8949842

Browse files
committed
code quality: fix @var tags for nullable WP_Rewrite props
1 parent ddeced8 commit 8949842

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/wp-includes/class-wp-rewrite.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,39 +52,39 @@ class WP_Rewrite {
5252
* Permalink structure for author archives.
5353
*
5454
* @since 1.5.0
55-
* @var string
55+
* @var ?string
5656
*/
5757
public $author_structure;
5858

5959
/**
6060
* Permalink structure for date archives.
6161
*
6262
* @since 1.5.0
63-
* @var string
63+
* @var ?string
6464
*/
6565
public $date_structure;
6666

6767
/**
6868
* Permalink structure for pages.
6969
*
7070
* @since 1.5.0
71-
* @var string
71+
* @var ?string
7272
*/
7373
public $page_structure;
7474

7575
/**
7676
* Base of the search permalink structure (example.com/$search_base/query).
7777
*
7878
* @since 1.5.0
79-
* @var string
79+
* @var ?string
8080
*/
8181
public $search_base = 'search';
8282

8383
/**
8484
* Permalink structure for searches.
8585
*
8686
* @since 1.5.0
87-
* @var string
87+
* @var ?string
8888
*/
8989
public $search_structure;
9090

@@ -124,15 +124,15 @@ class WP_Rewrite {
124124
* Comments feed permalink structure.
125125
*
126126
* @since 1.5.0
127-
* @var string
127+
* @var ?string
128128
*/
129129
public $comment_feed_structure;
130130

131131
/**
132132
* Feed request permalink structure.
133133
*
134134
* @since 1.5.0
135-
* @var string
135+
* @var ?string
136136
*/
137137
public $feed_structure;
138138

0 commit comments

Comments
 (0)