Skip to content

Commit

Permalink
Merge pull request #3146 from nbayramberdiyev/RuntimeException
Browse files Browse the repository at this point in the history
Inherit HttpException from RuntimeException
  • Loading branch information
l0gicgate committed Feb 12, 2022
2 parents 3fa6092 + dc1d459 commit c2ac850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Slim/Exception/HttpException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

namespace Slim\Exception;

use Exception;
use Psr\Http\Message\ServerRequestInterface;
use RuntimeException;
use Throwable;

/**
* @method int getCode()
*/
class HttpException extends Exception
class HttpException extends RuntimeException
{
/**
* @var ServerRequestInterface
Expand Down

0 comments on commit c2ac850

Please sign in to comment.