diff --git a/src/LdcUserProfile/Service/ProfileService.php b/src/LdcUserProfile/Service/ProfileService.php index 0d78fd0..b7a9613 100644 --- a/src/LdcUserProfile/Service/ProfileService.php +++ b/src/LdcUserProfile/Service/ProfileService.php @@ -91,7 +91,7 @@ public function validate(FormInterface $form, array $data) $this->getEventManager()->trigger(__METHOD__.'.pre', $this, $argv); $form->setData($data); $isValid = $form->isValid(); - $this->getEventManager()->trigger(__METHOD__.'.post', $this, $argv + ['success' => $isValid]); + $this->getEventManager()->trigger(__METHOD__.'.post', $this, $argv + array('success' => $isValid)); return $isValid; }