diff --git a/src/LaravelPos.php b/src/LaravelPos.php index 43edebc..12aa019 100644 --- a/src/LaravelPos.php +++ b/src/LaravelPos.php @@ -128,7 +128,7 @@ public function payment(array $card = []) */ public function getGatewayUrl() { - return isset($this->pos->bank->gateway) ? $this->pos->bank->gateway : 'null'; + return $this->pos->bank->gateway ?? 'null'; } /**