Skip to content

Commit 8627b3d

Browse files
Fix: Exception not found
1 parent b0d2e4b commit 8627b3d

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/Exception/ProductFoundException.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,8 @@
1111

1212
namespace BitBag\SyliusWishlistPlugin\Exception;
1313

14-
use Symfony\Component\HttpKernel\Exception\ConflictHttpException;
14+
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
1515

1616
final class ProductFoundException extends ConflictHttpException
1717
{
18-
public function __construct(private string $productName)
19-
{
20-
parent::__construct();
21-
}
22-
23-
public function getProductName(): string
24-
{
25-
return $this->productName;
26-
}
2718
}

0 commit comments

Comments
 (0)