feature/micro-kernel-trait #2

Merged
krzysiej merged 2 commits from feature/micro-kernel-trait into master 2024-10-19 16:38:31 +02:00
Showing only changes of commit 58562746a3 - Show all commits

View File

@@ -25,7 +25,7 @@ final class ProductController extends BaseController
])->find($productId); ])->find($productId);
if(null === $product) { if(null === $product) {
throw new ItemNotFoundException('Product not found'); throw $this->createNotFoundException('Product not found');
} }
$priceList = $product->price()->pluck('price')->implode(','); $priceList = $product->price()->pluck('price')->implode(',');