Minor fixes

This commit is contained in:
David Bomba 2024-07-16 09:42:54 +10:00
parent 64106ce7e1
commit ceee59f7df

View File

@ -147,7 +147,7 @@ class UpdatePaymentMethods
{
$sources = $customer->sources ?? false;
if (!$customer || is_null($sources) || !property_exists($sources, 'data')) {
if (!$customer || is_null($sources) || !$sources || !property_exists($sources, 'data')) {
return;
}