Skip to content

Commit 5d25df3

Browse files
committed
fix phpstan
1 parent 0ec576e commit 5d25df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Resources/Shop/CheckoutOptionResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class CheckoutOptionResource extends Data
3030

3131
public function __construct()
3232
{
33-
$this->is_offline = Configs::getValueAsString('webshop_offline');
33+
$this->is_offline = Configs::getValueAsBool('webshop_offline');
3434
$this->currency = Configs::getValueAsString('webshop_currency');
3535
$this->allow_guest_checkout = Configs::getValueAsBool('webshop_allow_guest_checkout');
3636
$this->terms_url = Configs::getValueAsString('webshop_terms_url');

0 commit comments

Comments
 (0)