Skip to content

A free open source IT asset/license management system

one more phpstan

Godfrey M2cb22991340e
diff --git a/app/Livewire/IntegrationSettingsForm.php b/app/Livewire/IntegrationSettingsForm.php
index 06b3cf7c6b..e356a151c4 100644
--- a/app/Livewire/IntegrationSettingsForm.php
+++ b/app/Livewire/IntegrationSettingsForm.php
@@ -296,7 +296,7 @@ class IntegrationSettingsForm extends Component
])->withOptions(['allow_redirects' => false])
->post($this->webhook_endpoint, $payload)/*->throw()*/
;
- $status_code = $response->getStatusCode();
+ $status_code = $response->status();
}
if ($status_code >= 300 && $status_code < 400) {