Skip to content

Commit 5efd35c

Browse files
committed
Fixed formatPrice() shortcut
1 parent ee89746 commit 5efd35c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function productList(array $data = []): ProductList
2525
return new ProductList($data);
2626
}
2727

28-
function formatPrice(float $price, bool $currencyPositionPrecedes, bool $currencySeperateBySpace): string
28+
function formatPrice(float $price, bool $currencyPositionPrecedes = null, bool $currencySeperateBySpace = null): string
2929
{
3030
return Merx::formatPrice($price, $currencyPositionPrecedes);
3131
}

0 commit comments

Comments
 (0)