Skip to content

Commit 7c8e7e8

Browse files
Update LaravelPos.php
Minor factorization.
1 parent 3563c11 commit 7c8e7e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelPos.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function payment(array $card = [])
128128
*/
129129
public function getGatewayUrl()
130130
{
131-
return isset($this->pos->bank->gateway) ? $this->pos->bank->gateway : 'null';
131+
return $this->pos->bank->gateway ?? 'null';
132132
}
133133

134134
/**

0 commit comments

Comments
 (0)