Skip to content

Commit

Permalink
fix deprecated call
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbenedetto committed Sep 25, 2023
1 parent 4a0caa5 commit 1eb8a6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ public function tear_down() {
$reflection = new ReflectionClass( 'WP_Font_Library' );
$property = $reflection->getProperty( 'collections' );
$property->setAccessible( true );
$property->setValue( array() );
$property->setValue( null, array() );
}
}

0 comments on commit 1eb8a6f

Please sign in to comment.