diff --git a/src/EventManager.php b/src/EventManager.php index d86d02a..6ae3842 100644 --- a/src/EventManager.php +++ b/src/EventManager.php @@ -188,7 +188,7 @@ public function initialize_listeners() { */ public function push( Event $event ) { do_action( 'nfd_event_log', $event->key, $event ); - array_push( $this->queue, $event ); + $this->queue[] = $event; } /**