feature/micro-kernel-trait #2
@@ -25,7 +25,7 @@ final class ProductController extends BaseController
|
||||
])->find($productId);
|
||||
|
||||
if(null === $product) {
|
||||
throw new ItemNotFoundException('Product not found');
|
||||
throw $this->createNotFoundException('Product not found');
|
||||
}
|
||||
|
||||
$priceList = $product->price()->pluck('price')->implode(',');
|
||||
|
||||
Reference in New Issue
Block a user