From 724774c1bc35c2b97a031b4207f77d92b500156f Mon Sep 17 00:00:00 2001 From: devansh bawari Date: Fri, 9 Oct 2020 19:58:55 +0530 Subject: [PATCH] Isue Fixed --- config/products.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/products.php b/config/products.php index a84a63e78..e48e22b6e 100644 --- a/config/products.php +++ b/config/products.php @@ -17,7 +17,5 @@ return [ // Return neither true nor false but null by default to not interrupt the default chain that // defines if a product is saleable. It depends on the isSaleable() method of the product // type if this callable is obeyed. - 'isSaleable' => function (Product $product): ?bool { - return null; - }, + 'isSaleable' => null, ];