Add missing parameter documentation
authorMatthias Schmidt <gravatronics@live.com>
Sun, 26 Nov 2017 16:17:00 +0000 (17:17 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 26 Nov 2017 16:17:00 +0000 (17:17 +0100)
wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php
wcfsetup/install/files/lib/system/recaptcha/RecaptchaHandlerV2.class.php
wcfsetup/install/files/lib/system/user/notification/TestableUserNotificationEventHandler.class.php

index 15b0a86c20f6a80cf74c175f252268051976c6d5..8ee7912e430712dd23cc1516c41f35ba0e5d3356 100644 (file)
@@ -18,6 +18,8 @@ use wcf\system\WCFACP;
 class PermissionDeniedException extends UserException {
        /**
         * Creates a new PermissionDeniedException object.
+        * 
+        * @param       string|null     $message        custom error message
         */
        public function __construct($message = null) {
                if ($message === null) $message = WCF::getLanguage()->getDynamicVariable('wcf.page.error.permissionDenied');
index c5c3c974758fe46c05d79c7a205a2eba6d676f37..c3d92fdc6f1796185ae168df205ea56f3b330d70 100644 (file)
@@ -20,6 +20,7 @@ class RecaptchaHandlerV2 extends SingletonFactory {
         * Validates response.
         * 
         * @param       string          $response
+        * @param       string          $type
         * @throws      UserInputException
         */
        public function validate($response, $type = 'v2') {
index 1a2e8bf8af8f228c027dcf34274f548226be4eed..89e1254d8278bb829cdf811e407564f3348c8845 100644 (file)
@@ -152,6 +152,7 @@ class TestableUserNotificationEventHandler extends SingletonFactory {
        /**
         * Returns the recipient of the notifications who is the active user.
         * 
+        * @param       Language|null   $language
         * @return      UserProfile
         */
        public function getRecipient(Language $language = null) {