Skip to content

Commit 519e852

Browse files
committed
fix: remove redundant code
1 parent 88ce0ab commit 519e852

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

inc/Block_Styles.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Block_Styles {
2626
* Block Styles constructor.
2727
*/
2828
public function __construct() {
29-
29+
$this->styles = array();
3030
add_action( 'init', array( $this, 'run' ) );
3131
}
3232

@@ -36,7 +36,6 @@ public function __construct() {
3636
* @return void
3737
*/
3838
public function run() {
39-
$this->styles = array();
4039
$this->add_block_styles();
4140
}
4241

0 commit comments

Comments
 (0)