Skip to content

Commit d9cdd1e

Browse files
authored
Merge pull request #13 from UnusefulCoder/patch-1
Update LaravelPos.php
2 parents 3563c11 + 7c8e7e8 commit d9cdd1e

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)