Skip to content

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Jan 10, 2018
1 parent 20271fc commit 55ef973
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/commands/IssueNoteAddCommand.php
Expand Up @@ -60,7 +60,7 @@
*/

/**
* A command that adds user to monitor an issue.
* A command that adds an issue note.
*/
class IssueNoteAddCommand extends Command {
/**
Expand Down Expand Up @@ -230,7 +230,7 @@ function validate() {
/**
* Process the command.
*
* @returns integer The id of the added note.
* @returns array Command response
*/
protected function process() {
if( $this->issue->project_id != helper_get_current_project() ) {
Expand Down
4 changes: 2 additions & 2 deletions core/commands/MonitorAddCommand.php
Expand Up @@ -101,7 +101,7 @@ function validate() {
/**
* Process the command.
*
* @returns null No output from this command.
* @returns array Command response
*/
protected function process() {
if( $this->projectId != helper_get_current_project() ) {
Expand All @@ -116,7 +116,7 @@ protected function process() {
bug_monitor( $this->query( 'issue_id' ), $t_user_id );
}

return null;
return array();
}
}

0 comments on commit 55ef973

Please sign in to comment.