diff --git a/src/Customer.php b/src/Customer.php index 56f2e6e..013eebf 100644 --- a/src/Customer.php +++ b/src/Customer.php @@ -113,7 +113,7 @@ public static function findByExternalId($externalId) return null; } - return $response->first() || null; + return $response->first() ?: null; } /**