Skip to content

Commit

Permalink
[Inventory] Extend \RuntimeException by NotEnoughUnitsOnHandException…
Browse files Browse the repository at this point in the history
… and NotEnoughUnitsOnHoldException exceptions
  • Loading branch information
GSadee committed Jun 3, 2024
1 parent ae63e24 commit 730588c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace Sylius\Component\Core\Inventory\Exception;

final class NotEnoughUnitsOnHandException extends \InvalidArgumentException
final class NotEnoughUnitsOnHandException extends \RuntimeException
{
public function __construct(string $variantName)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace Sylius\Component\Core\Inventory\Exception;

final class NotEnoughUnitsOnHoldException extends \InvalidArgumentException
final class NotEnoughUnitsOnHoldException extends \RuntimeException
{
public function __construct(string $variantName)
{
Expand Down

0 comments on commit 730588c

Please sign in to comment.