@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | { |
88 | 88 | $output->info(count($this->getAllNewWebhooks()) . " new hooks to check"); |
89 | 89 | |
90 | - foreach($this->getAllNewWebhooks() as $webHook) { |
|
90 | + foreach ($this->getAllNewWebhooks() as $webHook) { |
|
91 | 91 | $output->infoid(" Processing hook ID " . $webHook->getResourceId() . " - Action Type = " . $webHook->getEventType()); |
92 | 92 | try { |
93 | 93 | $this->processWebhook($webHook, $output); |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | if (MangoPayConstants::isEventTypeOk($hook->getEventType())) { |
105 | 105 | |
106 | 106 | } else { |
107 | - $errMsg = "Received webhook from MangoPay *" . $hook->getEventType() ."*, which is unknown. Firing event anyway \n ```" . json_encode($hook->getRawHookData()) . "```"; |
|
107 | + $errMsg = "Received webhook from MangoPay *" . $hook->getEventType() . "*, which is unknown. Firing event anyway \n ```" . json_encode($hook->getRawHookData()) . "```"; |
|
108 | 108 | $commonOutput->error($errMsg); |
109 | 109 | $this->sendErrorMessage( |
110 | 110 | $errMsg, |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | return $this->mangoPayRepositoryFactory->saveAndGetEntity($hook); |
237 | 237 | } |
238 | 238 | |
239 | - private function getIdentityCheckReportByOnfidoReportId(OnfidoHookQueue $onfidoHookQueue) : ?IdentityCheckReport |
|
239 | + private function getIdentityCheckReportByOnfidoReportId(OnfidoHookQueue $onfidoHookQueue) : ? IdentityCheckReport |
|
240 | 240 | { |
241 | 241 | return $this->mangoPayRepositoryFactory->getIdentityCheckReport()->findOneByOnfidoReportId( |
242 | 242 | $onfidoHookQueue->getResourceId() |