Skip to content

Commit

Permalink
Remove static keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Oct 16, 2024
1 parent f6c93b2 commit fcc06e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/core/classes/class-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function register_block_variations(): void {
*
* @return string[] List of block-variations foldernames.
*/
public static function get_block_variations(): array {
public function get_block_variations(): array {
$variations_directory = sprintf( '%1$s/build/variations/', GATHERPRESS_CORE_PATH );

if ( ! file_exists( $variations_directory ) ) {
Expand Down

0 comments on commit fcc06e3

Please sign in to comment.