Explorar o código

Remove return types to support php5.6

Jeff Ong %!s(int64=4) %!d(string=hai) anos
pai
achega
17770066b3
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      spearhead/functions.php

+ 3 - 3
spearhead/functions.php

@@ -149,9 +149,9 @@ add_action( 'enqueue_block_assets', 'spearhead_block_extends' );
 /**
  * Add Google webfonts
  *
- * @return string
+ * @return value
  */
-function spearhead_fonts_url() : string {
+function spearhead_fonts_url() {
 	$fonts_url = '';
 
 	$font_families   = array();
@@ -168,7 +168,7 @@ function spearhead_fonts_url() : string {
 /**
  * Load extras
  */
-function seedlet_entry_meta_header() : void {
+function seedlet_entry_meta_header() {
 	// Hide author, post date, category and tag text for pages.
 	if ( 'post' === get_post_type() ) {
 		// Posted on