Passed
Push — master ( aa4dc1...14f537 )
by
unknown
02:48
created
Services/HookHandleService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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()
Please login to merge, or discard this patch.