diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-11-20 20:52:54 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-03-25 18:47:38 +0100 |
commit | 2baa7a2b9136d4d4dc1e56dfc043cc71da3ee1df (patch) | |
tree | d8f970ce85442869ad9547f80f70153a31820563 /lib/Service/Exceptions/ServiceException.php | |
parent | 8b519cd234b1293e03ef288617287be1a30cfc75 (diff) |
Make PHPstan stricter
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Service/Exceptions/ServiceException.php')
-rw-r--r-- | lib/Service/Exceptions/ServiceException.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Service/Exceptions/ServiceException.php b/lib/Service/Exceptions/ServiceException.php index 69b963ab6..b4804f1de 100644 --- a/lib/Service/Exceptions/ServiceException.php +++ b/lib/Service/Exceptions/ServiceException.php @@ -27,9 +27,9 @@ abstract class ServiceException extends Exception /** * Constructor * - * @param string $msg the error message - * @param int $code - * @param Exception|null $previous + * @param string $msg the error message + * @param int $code + * @param Exception|null $previous */ final public function __construct(string $msg, int $code = 0, ?Exception $previous = null) { @@ -39,7 +39,7 @@ abstract class ServiceException extends Exception /** * Create exception from Mapper exception. * - * @param IMapperException|Exception $exception Existing exception + * @param IMapperException $exception Existing exception * * @return static */ |