Completed
Pull Request — master (#39)
by
unknown
02:33
created
code/OpauthController.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -291,6 +291,7 @@  discard block
 block discarded – undo
291 291
 	/**
292 292
 	 * Validates the Oauth response for Opauth.
293 293
 	 * @throws InvalidArgumentException
294
+	 * @param Opauth $opauth
294 295
 	 */
295 296
 	protected function validateOpauthResponse($opauth, $response) {
296 297
 		if(!empty($response['error'])) {
@@ -385,6 +386,9 @@  discard block
 block discarded – undo
385 386
 		return unserialize(base64_decode($this->request->{$method.'Var'}('opauth')));
386 387
 	}
387 388
 
389
+	/**
390
+	 * @param string $action
391
+	 */
388 392
 	public function Link($action = null) {
389 393
 		return Controller::join_links(
390 394
 			self::config()->opauth_path,
Please login to merge, or discard this patch.
code/OpauthResponseHelper.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -55,6 +55,7 @@
 block discarded – undo
55 55
 
56 56
 	/**
57 57
 	 * Try very hard to get a locale for this user. Helps for i18n etc.
58
+	 * @param string $language
58 59
 	 * @return string
59 60
 	 */
60 61
 	public static function get_smart_locale($language = null) {
Please login to merge, or discard this patch.
code/OpauthMemberLoginFormExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 	 * Deny password resets
12 12
 	 * 
13 13
 	 * @param Member $member
14
-	 * @return boolean
14
+	 * @return null|false
15 15
 	 */
16 16
 	public function forgotPassword($member) {
17 17
 		if(Config::inst()->get('OpauthMemberLoginFormExtension', 'allow_password_reset')) {
Please login to merge, or discard this patch.