PHPdoc cleanup

This commit is contained in:
Frederic Guillot
2016-03-04 21:11:12 -05:00
parent 3808209690
commit a7f3e3bec5
42 changed files with 97 additions and 51 deletions

View File

@@ -151,7 +151,7 @@ class Action extends Base
*
* @author Antonio Rabelo
* @param integer $src_project_id Source project id
* @return integer $dst_project_id Destination project id
* @param integer $dst_project_id Destination project id
* @return boolean
*/
public function duplicate($src_project_id, $dst_project_id)

View File

@@ -77,7 +77,7 @@ class Board extends Base
*
* @author Antonio Rabelo
* @param integer $project_from Project Template
* @return integer $project_to Project that receives the copy
* @param integer $project_to Project that receives the copy
* @return boolean
*/
public function duplicate($project_from, $project_to)

View File

@@ -191,7 +191,7 @@ class Category extends Base
*
* @author Antonio Rabelo
* @param integer $src_project_id Source project id
* @return integer $dst_project_id Destination project id
* @param integer $dst_project_id Destination project id
* @return boolean
*/
public function duplicate($src_project_id, $dst_project_id)

View File

@@ -141,6 +141,7 @@ class Color extends Base
* Get available colors
*
* @access public
* @param bool $prepend
* @return array
*/
public function getList($prepend = false)

View File

@@ -239,6 +239,7 @@ class Config extends Setting
* Prepare data before save
*
* @access public
* @param array $values
* @return array
*/
public function prepare(array $values)

View File

@@ -90,7 +90,7 @@ class Link extends Base
*
* @access public
* @param integer $exclude_id Exclude this link
* @param booelan $prepend Prepend default value
* @param boolean $prepend Prepend default value
* @return array
*/
public function getList($exclude_id = 0, $prepend = true)

View File

@@ -76,6 +76,7 @@ abstract class Metadata extends Base
* @access public
* @param integer $entity_id
* @param array $values
* @return boolean
*/
public function save($entity_id, array $values)
{

View File

@@ -80,7 +80,7 @@ abstract class NotificationType extends Base
*
* @access public
* @param string $type
* @return NotificationInterface
* @return \Kanboard\Notification\NotificationInterface
*/
public function getType($type)
{

View File

@@ -20,7 +20,7 @@ class PasswordReset extends Base
/**
* Token duration (30 minutes)
*
* @var string
* @var integer
*/
const DURATION = 1800;

View File

@@ -166,7 +166,7 @@ class ProjectGroupRole extends Base
* Copy group access from a project to another one
*
* @param integer $project_src_id Project Template
* @return integer $project_dst_id Project that receives the copy
* @param integer $project_dst_id Project that receives the copy
* @return boolean
*/
public function duplicate($project_src_id, $project_dst_id)

View File

@@ -75,6 +75,7 @@ abstract class Setting extends Base
*
* @access public
* @param array $values
* @return boolean
*/
public function save(array $values)
{

View File

@@ -155,6 +155,7 @@ class TaskDuplication extends Base
*
* @access public
* @param array $values
* @return array
*/
public function checkDestinationProjectValues(array &$values)
{

View File

@@ -18,7 +18,8 @@ class TaskPermission extends Base
* Regular users can't remove tasks from other people
*
* @public
* @return boolean
* @param array $task
* @return bool
*/
public function canRemoveTask(array $task)
{