Remove @group annotations
Summary: I'm pretty sure that `@group` annotations are useless now... see D9855. Also fixed various other minor issues. Test Plan: Eye-ball it. Reviewers: #blessed_reviewers, epriestley, chad Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin, hach-que Differential Revision: https://secure.phabricator.com/D9859
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* @group oauthserver
|
||||
*/
|
||||
final class PhabricatorOAuthResponse extends AphrontResponse {
|
||||
|
||||
private $state;
|
||||
@@ -47,6 +44,7 @@ final class PhabricatorOAuthResponse extends AphrontResponse {
|
||||
private function getError() {
|
||||
return $this->error;
|
||||
}
|
||||
|
||||
public function setError($error) {
|
||||
// errors sometimes redirect to the client (302) but otherwise
|
||||
// the spec says all code 400
|
||||
@@ -60,6 +58,7 @@ final class PhabricatorOAuthResponse extends AphrontResponse {
|
||||
private function getErrorDescription() {
|
||||
return $this->errorDescription;
|
||||
}
|
||||
|
||||
public function setErrorDescription($error_description) {
|
||||
$this->errorDescription = $error_description;
|
||||
return $this;
|
||||
@@ -104,4 +103,5 @@ final class PhabricatorOAuthResponse extends AphrontResponse {
|
||||
public function buildResponseString() {
|
||||
return $this->encodeJSONForHTTPResponse($this->buildResponseDict());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user