projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9261db9
)
Add missing parameter documentation
author
Matthias Schmidt
<gravatronics@live.com>
Sun, 26 Nov 2017 16:17:00 +0000
(17:17 +0100)
committer
Matthias Schmidt
<gravatronics@live.com>
Sun, 26 Nov 2017 16:17:00 +0000
(17:17 +0100)
wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php
patch
|
blob
|
blame
|
history
wcfsetup/install/files/lib/system/recaptcha/RecaptchaHandlerV2.class.php
patch
|
blob
|
blame
|
history
wcfsetup/install/files/lib/system/user/notification/TestableUserNotificationEventHandler.class.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php
b/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php
index 15b0a86c20f6a80cf74c175f252268051976c6d5..8ee7912e430712dd23cc1516c41f35ba0e5d3356 100644
(file)
--- a/
wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php
+++ b/
wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php
@@
-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');
diff --git
a/wcfsetup/install/files/lib/system/recaptcha/RecaptchaHandlerV2.class.php
b/wcfsetup/install/files/lib/system/recaptcha/RecaptchaHandlerV2.class.php
index c5c3c974758fe46c05d79c7a205a2eba6d676f37..c3d92fdc6f1796185ae168df205ea56f3b330d70 100644
(file)
--- a/
wcfsetup/install/files/lib/system/recaptcha/RecaptchaHandlerV2.class.php
+++ b/
wcfsetup/install/files/lib/system/recaptcha/RecaptchaHandlerV2.class.php
@@
-20,6
+20,7
@@
class RecaptchaHandlerV2 extends SingletonFactory {
* Validates response.
*
* @param string $response
+ * @param string $type
* @throws UserInputException
*/
public function validate($response, $type = 'v2') {
diff --git
a/wcfsetup/install/files/lib/system/user/notification/TestableUserNotificationEventHandler.class.php
b/wcfsetup/install/files/lib/system/user/notification/TestableUserNotificationEventHandler.class.php
index 1a2e8bf8af8f228c027dcf34274f548226be4eed..89e1254d8278bb829cdf811e407564f3348c8845 100644
(file)
--- a/
wcfsetup/install/files/lib/system/user/notification/TestableUserNotificationEventHandler.class.php
+++ b/
wcfsetup/install/files/lib/system/user/notification/TestableUserNotificationEventHandler.class.php
@@
-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) {