diff options
Diffstat (limited to 'lib/Service/Exceptions')
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/Service/Exceptions/ServiceConflictException.php b/lib/Service/Exceptions/ServiceConflictException.php index 4a1a80801..dd6ba03c9 100644 --- a/lib/Service/Exceptions/ServiceConflictException.php +++ b/lib/Service/Exceptions/ServiceConflictException.php @@ -21,7 +21,7 @@ class ServiceConflictException extends ServiceException * * @param string $msg the error message */ - public function __construct($msg) + public function __construct(string $msg) { parent::__construct($msg); } diff --git a/lib/Service/Exceptions/ServiceException.php b/lib/Service/Exceptions/ServiceException.php index 7ee53bef9..c5ddddbd9 100644 --- a/lib/Service/Exceptions/ServiceException.php +++ b/lib/Service/Exceptions/ServiceException.php @@ -21,7 +21,7 @@ class ServiceException extends \Exception * * @param string $msg the error message */ - public function __construct($msg) + public function __construct(string $msg) { parent::__construct($msg); } diff --git a/lib/Service/Exceptions/ServiceNotFoundException.php b/lib/Service/Exceptions/ServiceNotFoundException.php index 6a9bae192..6c68ea6b2 100644 --- a/lib/Service/Exceptions/ServiceNotFoundException.php +++ b/lib/Service/Exceptions/ServiceNotFoundException.php @@ -21,7 +21,7 @@ class ServiceNotFoundException extends ServiceException * * @param string $msg the error message */ - public function __construct($msg) + public function __construct(string $msg) { parent::__construct($msg); } diff --git a/lib/Service/Exceptions/ServiceValidationException.php b/lib/Service/Exceptions/ServiceValidationException.php index 8d1bf09c8..8e9dc9fee 100644 --- a/lib/Service/Exceptions/ServiceValidationException.php +++ b/lib/Service/Exceptions/ServiceValidationException.php @@ -21,7 +21,7 @@ class ServiceValidationException extends ServiceException * * @param string $msg the error message */ - public function __construct($msg) + public function __construct(string $msg) { parent::__construct($msg); } |