Skip to content

Commit 928e33d

Browse files
committed
fix php cs
1 parent e007915 commit 928e33d

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

inc/class-yoast-dynamic-rewrites.php

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,25 @@
1010
*/
1111
class Yoast_Dynamic_Rewrites implements WPSEO_WordPress_Integration {
1212

13-
/** @var array Additional rewrite rules with high priority. */
13+
/**
14+
* Additional rewrite rules with high priority.
15+
*
16+
* @var array
17+
*/
1418
protected $extra_rules_top = [];
1519

16-
/** @var array Additional rewrite rules with low priority. */
20+
/**
21+
* Additional rewrite rules with low priority.
22+
*
23+
* @var array
24+
*/
1725
protected $extra_rules_bottom = [];
1826

19-
/** @var self|null Main instance holder. */
27+
/**
28+
* Main instance holder.
29+
*
30+
* @var self|null
31+
*/
2032
protected static $instance = null;
2133

2234
/**
@@ -39,6 +51,7 @@ public static function instance() {
3951
* Sets the WP_Rewrite instance to use.
4052
*
4153
* @param WP_Rewrite|null $rewrite Optional. WP_Rewrite instance to use. Default is the $wp_rewrite global.
54+
* @throws RuntimeException Throws an exception if the $wp_rewrite global is not set.
4255
*/
4356
public function __construct( $rewrite = null ) {
4457
if ( ! $rewrite ) {

0 commit comments

Comments
 (0)