diff --git a/src/Amplitude/Amplitude.php b/src/Amplitude/Amplitude.php index 87e788b..9c0ec0b 100644 --- a/src/Amplitude/Amplitude.php +++ b/src/Amplitude/Amplitude.php @@ -44,7 +44,7 @@ public function flush(): void public function logEvent(Event $event): void { - $this->queue[] = $event->toArray(); + $this->queue[] = $event->toArray(); if (count($this->queue) >= $this->config->flushQueueSize) { $this->flush(); }