1 parent
cd55061e69
commit
204c1df755
29 files changed
+115
-75
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare( strict_types=1 );
|
||||
|
||||
namespace Rarst\Laps\Event;
|
||||
|
||||
@@ -12,11 +13,11 @@ class Genesis_Events implements Hook_Event_Config_Interface {
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function get_events() {
|
||||
public function get_events(): array {
|
||||
|
||||
$events = [];
|
||||
|
||||
if ( ! function_exists( 'genesis' ) ) {
|
||||
if ( ! \function_exists( 'genesis' ) ) {
|
||||
return $events;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user