Skip to content

Commit

Permalink
fix: missing types in class-glossary
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaPipolo committed Apr 4, 2024
1 parent a8c1cb0 commit 6944fb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wp-content/themes/somoscuatro/src/class-glossary.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ public static function get_terms(): array {

/**
* Gets glossary letters.
*
* @param array $glossary_terms The Glossary terms.
*/
public static function get_letters( $glossary_terms ): array {
public static function get_letters( array $glossary_terms ): array {
$letters = array();

foreach ( $glossary_terms as $glossary_term ) {
Expand Down

0 comments on commit 6944fb6

Please sign in to comment.